fix_fenv_header-new2.patch (435B)
1 --- gcc-12.2.0.orig/libstdc++-v3/include/c_compatibility/fenv.h 2023-04-12 13:43:32.290629656 +0200 2 +++ gcc-12.2.0/libstdc++-v3/include/c_compatibility/fenv.h 2023-04-12 13:45:36.341140694 +0200 3 @@ -25,6 +25,9 @@ 4 /** @file fenv.h 5 * This is a Standard C++ Library header. 6 */ 7 +#if !defined __cplusplus || defined _GLIBCXX_INCLUDE_NEXT_C_HEADERS 8 +# include_next <fenv.h> 9 +#else 10 11 #ifndef _GLIBCXX_FENV_H 12 #define _GLIBCXX_FENV_H 1