From 04669106fb41d787e0686023dcce640fbe59865d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 May 2019 16:09:03 +0200 Subject: Partially dismantle modularization using Modules TS semantics --- libbutl/sha256.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libbutl/sha256.cxx') diff --git a/libbutl/sha256.cxx b/libbutl/sha256.cxx index e988ef2..6dbe2a0 100644 --- a/libbutl/sha256.cxx +++ b/libbutl/sha256.cxx @@ -2,7 +2,7 @@ // copyright : Copyright (c) 2014-2019 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef __cpp_modules +#ifndef __cpp_modules_ts #include #endif @@ -29,7 +29,7 @@ extern "C" #include -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include #include #include @@ -40,16 +40,16 @@ extern "C" // Other includes. -#ifdef __cpp_modules +#ifdef __cpp_modules_ts module butl.sha256; // Only imports additional to interface. -#ifdef __cpp_lib_modules +#ifdef __cpp_lib_modules_ts import std.io; #endif #ifdef __clang__ -#ifdef __cpp_lib_modules +#ifdef __cpp_lib_modules_ts import std.core; #endif #endif -- cgit v1.1