aboutsummaryrefslogtreecommitdiff
path: root/tests/timestamp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timestamp')
-rw-r--r--tests/timestamp/buildfile1
-rw-r--r--tests/timestamp/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/timestamp/buildfile b/tests/timestamp/buildfile
index 0a0857e..6da0f57 100644
--- a/tests/timestamp/buildfile
+++ b/tests/timestamp/buildfile
@@ -3,6 +3,5 @@
# license : MIT; see accompanying LICENSE file
import libs = libbutl%lib{butl}
-libs += $stdmod_lib
exe{driver}: {hxx cxx}{*} $libs
diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx
index 198c745..fbed9ec 100644
--- a/tests/timestamp/driver.cxx
+++ b/tests/timestamp/driver.cxx
@@ -6,7 +6,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <chrono>
#include <locale>
#include <clocale>
@@ -17,8 +17,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;
#endif