From 5946833bcab36361f452f072bd81523473d2d00b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Feb 2018 11:48:33 +0200 Subject: Make preprocessed=modules unconditional --- libmhello/build/root.build | 3 +-- libmhello/tests/build/root.build | 3 +-- 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 -- cgit v1.1