aboutsummaryrefslogtreecommitdiff
path: root/tests/small-vector
diff options
context:
space:
mode:
Diffstat (limited to 'tests/small-vector')
-rw-r--r--tests/small-vector/buildfile1
-rw-r--r--tests/small-vector/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/small-vector/buildfile b/tests/small-vector/buildfile
index 1145a6d..3be8d20 100644
--- a/tests/small-vector/buildfile
+++ b/tests/small-vector/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/small-vector/driver.cxx b/tests/small-vector/driver.cxx
index 38948f8..4b11437 100644
--- a/tests/small-vector/driver.cxx
+++ b/tests/small-vector/driver.cxx
@@ -4,15 +4,15 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <string>
#include <iostream>
#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