summaryrefslogtreecommitdiffstats
path: root/libcxx/include/exception
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r--libcxx/include/exception2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception
index f418575c735..0a747f50fb3 100644
--- a/libcxx/include/exception
+++ b/libcxx/include/exception
@@ -80,7 +80,9 @@ template <class E> void rethrow_if_nested(const E& e);
#include <cstddef>
#include <type_traits>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
namespace std // purposefully not using versioning namespace
{
OpenPOWER on IntegriCloud