summaryrefslogtreecommitdiffstats
path: root/libcxx/include/stdexcept
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/stdexcept')
-rw-r--r--libcxx/include/stdexcept2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/stdexcept b/libcxx/include/stdexcept
index d31dc8b072c..ef5de595f03 100644
--- a/libcxx/include/stdexcept
+++ b/libcxx/include/stdexcept
@@ -46,7 +46,9 @@ public:
#include <exception>
#include <iosfwd> // for string forward decl
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
namespace std // purposefully not using versioning namespace
{
OpenPOWER on IntegriCloud