* include/features.h (__USE_FORTIFY_LEVEL): Enable even with

Red Hat gcc4 4.0.0 and above.
This commit is contained in:
Jakub Jelinek 2004-10-18 22:56:48 +00:00
parent 1670c7cf0d
commit 0ad7eada7b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-19 Jakub Jelinek <jakub@redhat.com>
* include/features.h (__USE_FORTIFY_LEVEL): Enable even with
Red Hat gcc4 4.0.0 and above.
2004-10-18 Jakub Jelinek <jakub@redhat.com>
* malloc/arena.c (ptmalloc_init): Don't use brk if dlopened

View File

@ -262,7 +262,9 @@
# define __USE_REENTRANT 1
#endif
#if _FORTIFY_SOURCE > 0 && __GNUC_PREREQ (4, 1) && __OPTIMIZE__ > 0
#if _FORTIFY_SOURCE > 0 && __OPTIMIZE__ > 0 \
&& (__GNUC_PREREQ (4, 1) \
|| (defined __GNUC_RH_RELEASE__ && __GNUC_PREREQ (4, 0)))
# if _FORTIFY_SOURCE == 1
# define __USE_FORTIFY_LEVEL 1
# elif _FORTIFY_SOURCE > 1