summaryrefslogtreecommitdiffstats
path: root/libcxx/include/new
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/new')
-rw-r--r--libcxx/include/new2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/new b/libcxx/include/new
index 81c16bdfc97..5bcbad0cd04 100644
--- a/libcxx/include/new
+++ b/libcxx/include/new
@@ -56,7 +56,9 @@ void operator delete[](void* ptr, void*) noexcept;
#include <exception>
#include <cstddef>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
namespace std // purposefully not using versioning namespace
{
OpenPOWER on IntegriCloud