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