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/timestamp.mxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libbutl/timestamp.mxx') diff --git a/libbutl/timestamp.mxx b/libbutl/timestamp.mxx index 649a4e7..2c25972 100644 --- a/libbutl/timestamp.mxx +++ b/libbutl/timestamp.mxx @@ -2,13 +2,13 @@ // copyright : Copyright (c) 2014-2019 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef __cpp_modules +#ifndef __cpp_modules_ts #pragma once #endif // C includes. -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include #include #include @@ -16,9 +16,9 @@ // Other includes. -#ifdef __cpp_modules +#ifdef __cpp_modules_ts export module butl.timestamp; -#ifdef __cpp_lib_modules +#ifdef __cpp_lib_modules_ts import std.core; import std.io; #endif @@ -62,7 +62,7 @@ LIBBUTL_MODEXPORT namespace butl // unreal and all of them are less than any non-special value (strictly // speaking unreal is no greater (older) than any real value). // -#if defined(__cpp_modules) && defined(__clang__) //@@ MOD Clang duplicate sym. +#if defined(__cpp_modules_ts) && defined(__clang__) //@@ MOD Clang duplicate sym. inline const timestamp::rep timestamp_unknown_rep = -1; inline const timestamp timestamp_unknown = timestamp (duration (-1)); inline const timestamp::rep timestamp_nonexistent_rep = 0; -- cgit v1.1