aboutsummaryrefslogtreecommitdiff
path: root/tests/sha256
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sha256')
-rw-r--r--tests/sha256/buildfile1
-rw-r--r--tests/sha256/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/sha256/buildfile b/tests/sha256/buildfile
index 670bed5..d19464a 100644
--- a/tests/sha256/buildfile
+++ b/tests/sha256/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/sha256/driver.cxx b/tests/sha256/driver.cxx
index 43c9905..77298b2 100644
--- a/tests/sha256/driver.cxx
+++ b/tests/sha256/driver.cxx
@@ -4,15 +4,15 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <string>
#include <cstddef> // size_t
#endif
// Other includes.
-#ifdef __cpp_modules
-#ifdef __cpp_lib_modules
+#ifdef __cpp_modules_ts
+#ifdef __cpp_lib_modules_ts
import std.core;
#endif
import butl.path;