mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 23:00:15 +00:00
Mark fenv.h as a system header before the #include_next directive
This fixes a -Wgnu-include-next warning Patch by dmauro. llvm-svn: 357267
This commit is contained in:
parent
6a75c36ea9
commit
0706e144d5
@ -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++" {
|
||||
|
Loading…
Reference in New Issue
Block a user