aboutsummaryrefslogtreecommitdiff
path: root/tests/path
diff options
context:
space:
mode:
Diffstat (limited to 'tests/path')
-rw-r--r--tests/path/buildfile1
-rw-r--r--tests/path/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/path/buildfile b/tests/path/buildfile
index 0efbf6e..3e81b26 100644
--- a/tests/path/buildfile
+++ b/tests/path/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/path/driver.cxx b/tests/path/driver.cxx
index ededb58..72fdf9f 100644
--- a/tests/path/driver.cxx
+++ b/tests/path/driver.cxx
@@ -4,15 +4,15 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <iostream>
#include <type_traits>
#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