diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-03 16:09:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-03 16:09:03 +0200 |
commit | 04669106fb41d787e0686023dcce640fbe59865d (patch) | |
tree | 056d2fedf396006d6e243346ea8de689ddf23c08 /libbutl/timestamp.mxx | |
parent | 422f8cb7e03e9ba3cc95fde65585dcbd74aaa522 (diff) |
Partially dismantle modularization using Modules TS semantics
Diffstat (limited to 'libbutl/timestamp.mxx')
-rw-r--r-- | libbutl/timestamp.mxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 <iosfwd> #include <string> #include <chrono> @@ -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; |