diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bits/stdlib-ldbl.h | 1 | ||||
-rw-r--r-- | include/bits/wchar-ldbl.h | 1 | ||||
-rw-r--r-- | include/features.h | 9 |
3 files changed, 9 insertions, 2 deletions
diff --git a/include/bits/stdlib-ldbl.h b/include/bits/stdlib-ldbl.h new file mode 100644 index 0000000000..62509494a3 --- /dev/null +++ b/include/bits/stdlib-ldbl.h @@ -0,0 +1 @@ +#include <stdlib/bits/stdlib-ldbl.h> diff --git a/include/bits/wchar-ldbl.h b/include/bits/wchar-ldbl.h new file mode 100644 index 0000000000..29baa2f4d5 --- /dev/null +++ b/include/bits/wchar-ldbl.h @@ -0,0 +1 @@ +#include <wcsmbs/bits/wchar-ldbl.h> diff --git a/include/features.h b/include/features.h index 120a242166..fc1a5b5200 100644 --- a/include/features.h +++ b/include/features.h @@ -299,8 +299,13 @@ #endif #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 \ - && __GNUC_PREREQ (4, 1) && defined __OPTIMIZE__ && __OPTIMIZE__ > 0 -# if _FORTIFY_SOURCE > 1 + && defined __OPTIMIZE__ && __OPTIMIZE__ > 0 +# if !__GNUC_PREREQ (4, 1) +# ifdef __GNUC_RH_RELEASE__ +# warning _FORTIFY_SOURCE supported only with GCC 4.1 and later +# endif +# define __USE_FORTIFY_LEVEL 0 +# elif _FORTIFY_SOURCE > 1 # define __USE_FORTIFY_LEVEL 2 # else # define __USE_FORTIFY_LEVEL 1 |