aboutsummaryrefslogtreecommitdiff
path: root/tests/sendmail
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sendmail')
-rw-r--r--tests/sendmail/buildfile1
-rw-r--r--tests/sendmail/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/sendmail/buildfile b/tests/sendmail/buildfile
index a1cc9e4..7ca4436 100644
--- a/tests/sendmail/buildfile
+++ b/tests/sendmail/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/sendmail/driver.cxx b/tests/sendmail/driver.cxx
index 82e8bfb..c4e3445 100644
--- a/tests/sendmail/driver.cxx
+++ b/tests/sendmail/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