aboutsummaryrefslogtreecommitdiff
path: root/tests/path-entry
diff options
context:
space:
mode:
Diffstat (limited to 'tests/path-entry')
-rw-r--r--tests/path-entry/buildfile1
-rw-r--r--tests/path-entry/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/path-entry/buildfile b/tests/path-entry/buildfile
index 9298fe4..7acbd7f 100644
--- a/tests/path-entry/buildfile
+++ b/tests/path-entry/buildfile
@@ -3,6 +3,5 @@
# license : MIT; see accompanying LICENSE file
import libs = libbutl%lib{butl}
-libs += $stdmod_lib
exe{driver}: {hxx cxx}{*} $libs testscript
diff --git a/tests/path-entry/driver.cxx b/tests/path-entry/driver.cxx
index 252a6ca..797a5ef 100644
--- a/tests/path-entry/driver.cxx
+++ b/tests/path-entry/driver.cxx
@@ -4,15 +4,15 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <iostream>
#include <system_error>
#endif
// 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