diff options
Diffstat (limited to 'tests/dir-iterator')
-rw-r--r-- | tests/dir-iterator/buildfile | 1 | ||||
-rw-r--r-- | tests/dir-iterator/driver.cxx | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/dir-iterator/buildfile b/tests/dir-iterator/buildfile index 00ad823..2d44bbb 100644 --- a/tests/dir-iterator/buildfile +++ b/tests/dir-iterator/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/dir-iterator/driver.cxx b/tests/dir-iterator/driver.cxx index 7598a4f..4fd04b7 100644 --- a/tests/dir-iterator/driver.cxx +++ b/tests/dir-iterator/driver.cxx @@ -4,15 +4,15 @@ #include <cassert> -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include <cstddef> // size_t #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 |