summaryrefslogtreecommitdiff
path: root/libmformat
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
commit6b7c92a73725e6247681b4c92ce1ea3e3a1f6cd0 (patch)
treeaa70ba9cbab80af706a85a0c6c08942ddc63535e /libmformat
parent3083a77fbdb25957b9e330d72da7a89065465423 (diff)
Make preprocessed=modules unconditional
Diffstat (limited to 'libmformat')
-rw-r--r--libmformat/build/root.build3
-rw-r--r--libmformat/tests/build/root.build3
2 files changed, 2 insertions, 4 deletions
diff --git a/libmformat/build/root.build b/libmformat/build/root.build
index 4286e66..3bca0b3 100644
--- a/libmformat/build/root.build
+++ b/libmformat/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/libmformat/tests/build/root.build b/libmformat/tests/build/root.build
index 9e8c50d..240fd8f 100644
--- a/libmformat/tests/build/root.build
+++ b/libmformat/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