Fix C++03 modules build
authorEric Fiselier <eric@efcs.ca>
Tue, 6 Dec 2016 01:34:24 +0000 (01:34 +0000)
committerEric Fiselier <eric@efcs.ca>
Tue, 6 Dec 2016 01:34:24 +0000 (01:34 +0000)
llvm-svn: 288755

libcxx/include/module.modulemap

index 8d6d200..04b38dc 100644 (file)
@@ -483,6 +483,8 @@ module std [system] {
   module __undef___deallocate { header "__undef___deallocate" export * }
 
   module experimental {
+    requires cplusplus11
+
     module algorithm {
       header "experimental/algorithm"
       export *