diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-10-09 00:26:50 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-10-09 00:26:50 +0000 |
| commit | 2999ea0f041659f6ec0cee0fa6ab119c382bfac2 (patch) | |
| tree | 0253e6b1332632104fbe64e1f5a663ec8d34aa9b /libcxx/include/errno.h | |
| parent | 18677d51e04af0b4a11212047dbbeefdd0231869 (diff) | |
| download | bcm5719-llvm-2999ea0f041659f6ec0cee0fa6ab119c382bfac2.tar.gz bcm5719-llvm-2999ea0f041659f6ec0cee0fa6ab119c382bfac2.zip | |
PR25118: move system_header pragma before uses of include_next to avoid extension warnings for people finding libc++ headers via -I paths.
llvm-svn: 249788
Diffstat (limited to 'libcxx/include/errno.h')
| -rw-r--r-- | libcxx/include/errno.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/include/errno.h b/libcxx/include/errno.h index 3cda2aff7b3..556ef6112ec 100644 --- a/libcxx/include/errno.h +++ b/libcxx/include/errno.h @@ -24,12 +24,13 @@ Macros: */ #include <__config> -#include_next <errno.h> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif +#include_next <errno.h> + #if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) #ifdef ELAST |

