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/float.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/float.h')
-rw-r--r-- | libcxx/include/float.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/include/float.h b/libcxx/include/float.h index 275388e3f40..f890c680851 100644 --- a/libcxx/include/float.h +++ b/libcxx/include/float.h @@ -61,12 +61,13 @@ Macros: */ #include <__config> -#include_next <float.h> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) #pragma GCC system_header #endif +#include_next <float.h> + #ifndef FLT_EVAL_METHOD #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ #endif |