summaryrefslogtreecommitdiff
path: root/libmhello
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-02-14 11:48:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-14 11:48:33 +0200
commit96bcbd26f7abc1fa52ddcbb7713be8e2a490189c (patch)
tree64ebcb84206f931c0a2b193303c8c0f67cb8ddd7 /libmhello
parent541e0e60159f06690cc9bb4efebef59ad974628b (diff)
Make preprocessed=modules unconditional
Diffstat (limited to 'libmhello')
-rw-r--r--libmhello/build/root.build3
-rw-r--r--libmhello/tests/build/root.build3
2 files changed, 2 insertions, 4 deletions
diff --git a/libmhello/build/root.build b/libmhello/build/root.build
index 4286e66..3bca0b3 100644
--- a/libmhello/build/root.build
+++ b/libmhello/build/root.build
@@ -5,8 +5,7 @@ cxx.features.symexport = true
# Indicate that our sources do not use #include and module imports do not
# depend on the preprocessor.
#
-if ($cxx.id.type != 'msvc') # Temporary for 'export module M;' fixup.
- cxx.preprocessed = modules
+cxx.preprocessed = modules
using cxx
diff --git a/libmhello/tests/build/root.build b/libmhello/tests/build/root.build
index 9e8c50d..240fd8f 100644
--- a/libmhello/tests/build/root.build
+++ b/libmhello/tests/build/root.build
@@ -1,7 +1,6 @@
cxx.std = experimental
-if ($cxx.id.type != 'msvc') # Temporary for 'export module M;' fixup.
- cxx.preprocessed = modules
+cxx.preprocessed = modules
using cxx