diff options
Diffstat (limited to 'libbutl/fdstream.mxx')
-rw-r--r-- | libbutl/fdstream.mxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbutl/fdstream.mxx b/libbutl/fdstream.mxx index dd46ad2..a3d9039 100644 --- a/libbutl/fdstream.mxx +++ b/libbutl/fdstream.mxx @@ -2,13 +2,13 @@ // copyright : Copyright (c) 2014-2019 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#ifndef __cpp_modules +#ifndef __cpp_modules_ts #pragma once #endif #include <cassert> -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include <ios> // streamsize #include <vector> #include <string> @@ -23,9 +23,9 @@ // Other includes. -#ifdef __cpp_modules +#ifdef __cpp_modules_ts export module butl.fdstream; -#ifdef __cpp_lib_modules +#ifdef __cpp_lib_modules_ts import std.core; import std.io; #endif @@ -54,7 +54,7 @@ LIBBUTL_MODEXPORT namespace butl constexpr operator int () const {return -1;} }; -#if defined(__cpp_modules) && defined(__clang__) //@@ MOD Clang duplicate sym. +#if defined(__cpp_modules_ts) && defined(__clang__) //@@ MOD Clang duplicate sym. inline #endif constexpr nullfd_t nullfd (-1); |