aboutsummaryrefslogtreecommitdiff
path: root/libbutl/filesystem.mxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-05-03 16:09:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-05-03 16:09:03 +0200
commit04669106fb41d787e0686023dcce640fbe59865d (patch)
tree056d2fedf396006d6e243346ea8de689ddf23c08 /libbutl/filesystem.mxx
parent422f8cb7e03e9ba3cc95fde65585dcbd74aaa522 (diff)
Partially dismantle modularization using Modules TS semantics
Diffstat (limited to 'libbutl/filesystem.mxx')
-rw-r--r--libbutl/filesystem.mxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/filesystem.mxx b/libbutl/filesystem.mxx
index 9b0aacb..2e3a0d9 100644
--- a/libbutl/filesystem.mxx
+++ b/libbutl/filesystem.mxx
@@ -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
#pragma once
#endif
@@ -23,7 +23,7 @@
typedef int mode_t;
#endif
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <cstddef> // ptrdiff_t
#include <cstdint> // uint16_t, etc
#include <utility> // move(), pair
@@ -34,10 +34,10 @@
#endif
// Other includes.
-#ifdef __cpp_modules
+#ifdef __cpp_modules_ts
export module butl.filesystem;
-#ifdef __cpp_lib_modules
+#ifdef __cpp_lib_modules_ts
import std.core;
#endif