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 | 45bae0b7dca0a4e2056f49f15bd4cc3d21ff2b63 (patch) | |
tree | e5d92b0e88ba4912a5d733c1c1bd3b31e1cc5874 /include/ctype.h | |
parent | 1883b40a07f2773bdc1dcec15e166f91c042b4be (diff) | |
download | external_libcxx-45bae0b7dca0a4e2056f49f15bd4cc3d21ff2b63.tar.gz external_libcxx-45bae0b7dca0a4e2056f49f15bd4cc3d21ff2b63.tar.bz2 external_libcxx-45bae0b7dca0a4e2056f49f15bd4cc3d21ff2b63.zip |
PR25118: move system_header pragma before uses of include_next to avoid extension warnings for people finding libc++ headers via -I paths.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@249788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/ctype.h')
-rw-r--r-- | include/ctype.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ctype.h b/include/ctype.h index 63f0b2960..22d6c49be 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -31,12 +31,13 @@ int toupper(int c); */ #include <__config> -#include_next <ctype.h> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif +#include_next <ctype.h> + #ifdef __cplusplus #if defined(_LIBCPP_MSVCRT) |