projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a75c36
)
Mark fenv.h as a system header before the #include_next directive
author
Eric Fiselier
<eric@efcs.ca>
Fri, 29 Mar 2019 16:03:57 +0000
(16:03 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Fri, 29 Mar 2019 16:03:57 +0000
(16:03 +0000)
This fixes a -Wgnu-include-next warning
Patch by dmauro.
llvm-svn: 357267
libcxx/include/fenv.h
patch
|
blob
|
history
diff --git
a/libcxx/include/fenv.h
b/libcxx/include/fenv.h
index
7cede4b
..
988cd9b
100644
(file)
--- a/
libcxx/include/fenv.h
+++ b/
libcxx/include/fenv.h
@@
-51,12
+51,13
@@
int feupdateenv(const fenv_t* envp);
*/
#include <__config>
-#include_next <fenv.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
#endif
+#include_next <fenv.h>
+
#ifdef __cplusplus
extern "C++" {