summaryrefslogtreecommitdiff
path: root/include/scoped_allocator
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-10-17 20:05:10 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-10-17 20:05:10 +0000
commit08e17472e4d5434b668dd4c63e3fa5f4b45337b9 (patch)
treea24953b1e276f3eeec6145905bb5284f75019d8b /include/scoped_allocator
parent2baccd81f1d87265718035d32c0f4feffd451363 (diff)
Windows support by Ruben Van Boxem.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@142235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/scoped_allocator')
-rw-r--r--include/scoped_allocator2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scoped_allocator b/include/scoped_allocator
index 9427a376d..cd051020f 100644
--- a/include/scoped_allocator
+++ b/include/scoped_allocator
@@ -106,7 +106,9 @@ template <class OuterA1, class OuterA2, class... InnerAllocs>
#include <__config>
#include <memory>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
_LIBCPP_BEGIN_NAMESPACE_STD