aboutsummaryrefslogtreecommitdiff
path: root/tests/fdstream
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 /tests/fdstream
parent422f8cb7e03e9ba3cc95fde65585dcbd74aaa522 (diff)
Partially dismantle modularization using Modules TS semantics
Diffstat (limited to 'tests/fdstream')
-rw-r--r--tests/fdstream/buildfile1
-rw-r--r--tests/fdstream/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/fdstream/buildfile b/tests/fdstream/buildfile
index f69bc95..cf3d3aa 100644
--- a/tests/fdstream/buildfile
+++ b/tests/fdstream/buildfile
@@ -3,7 +3,6 @@
# license : MIT; see accompanying LICENSE file
import libs = libbutl%lib{butl}
-libs += $stdmod_lib
exe{driver}: {hxx cxx}{*} $libs
diff --git a/tests/fdstream/driver.cxx b/tests/fdstream/driver.cxx
index ee75a31..4a85526 100644
--- a/tests/fdstream/driver.cxx
+++ b/tests/fdstream/driver.cxx
@@ -8,7 +8,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#ifndef _WIN32
# include <chrono>
#endif
@@ -27,8 +27,8 @@
// Other includes.
-#ifdef __cpp_modules
-#ifdef __cpp_lib_modules
+#ifdef __cpp_modules_ts
+#ifdef __cpp_lib_modules_ts
import std.core;
import std.io;
#ifndef _WIN32