aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest-rewriter
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest-rewriter')
-rw-r--r--tests/manifest-rewriter/buildfile1
-rw-r--r--tests/manifest-rewriter/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/manifest-rewriter/buildfile b/tests/manifest-rewriter/buildfile
index c231631..3f04982 100644
--- a/tests/manifest-rewriter/buildfile
+++ b/tests/manifest-rewriter/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/manifest-rewriter/driver.cxx b/tests/manifest-rewriter/driver.cxx
index 11269ab..2033af0 100644
--- a/tests/manifest-rewriter/driver.cxx
+++ b/tests/manifest-rewriter/driver.cxx
@@ -4,7 +4,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <vector>
#include <string>
#include <cstdint> // uint64_t
@@ -15,8 +15,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