aboutsummaryrefslogtreecommitdiff
path: root/tests/standard-version
diff options
context:
space:
mode:
Diffstat (limited to 'tests/standard-version')
-rw-r--r--tests/standard-version/buildfile1
-rw-r--r--tests/standard-version/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/standard-version/buildfile b/tests/standard-version/buildfile
index 9935456..0305c9c 100644
--- a/tests/standard-version/buildfile
+++ b/tests/standard-version/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/standard-version/driver.cxx b/tests/standard-version/driver.cxx
index 72dbb4a..54fcfb8 100644
--- a/tests/standard-version/driver.cxx
+++ b/tests/standard-version/driver.cxx
@@ -4,7 +4,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <ios> // ios::failbit, ios::badbit
#include <string>
#include <cstdint> // uint*_t
@@ -14,8 +14,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