SHA256
1
0
forked from pool/glibc
glibc/glibc-2.9-fortify.diff

17 lines
477 B
Diff

--- misc/sys/cdefs.h.orig 2009-02-27 16:05:10.000000000 +0100
+++ misc/sys/cdefs.h 2009-02-27 16:06:32.000000000 +0100
@@ -303,7 +303,12 @@
# endif
# else
# define __extern_inline extern __inline
-# define __extern_always_inline extern __always_inline
+# if __GNUC_PREREQ (4,3)
+# define __extern_always_inline \
+ extern __always_inline __attribute__ ((__artificial__))
+# else
+# define __extern_always_inline extern __always_inline
+# endif
# endif
#endif