aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/stdexcept
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libcxx/stdexcept')
-rw-r--r--system/include/libcxx/stdexcept2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/libcxx/stdexcept b/system/include/libcxx/stdexcept
index d31dc8b0..ef5de595 100644
--- a/system/include/libcxx/stdexcept
+++ b/system/include/libcxx/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
{