aboutsummaryrefslogtreecommitdiff
path: root/system/include/libcxx/cerrno
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libcxx/cerrno')
-rw-r--r--system/include/libcxx/cerrno2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/libcxx/cerrno b/system/include/libcxx/cerrno
index 71084a14..9804e4e3 100644
--- a/system/include/libcxx/cerrno
+++ b/system/include/libcxx/cerrno
@@ -26,7 +26,9 @@ Macros:
#include <__config>
#include <errno.h>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
#if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE)