aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/csetjmp
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libcxx/csetjmp')
-rw-r--r--system/include/libcxx/csetjmp2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/libcxx/csetjmp b/system/include/libcxx/csetjmp
index 2b8b81f9..d0b2c078 100644
--- a/system/include/libcxx/csetjmp
+++ b/system/include/libcxx/csetjmp
@@ -34,7 +34,9 @@ void longjmp(jmp_buf env, int val);
#include <__config>
#include <setjmp.h>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
#ifndef setjmp
#define setjmp(env) setjmp(env)