summaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/bits
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-26 13:25:26 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-26 13:25:26 +0000
commit7e4d47f0f9c19a5d495592749610a399f42834c4 (patch)
tree3feb17c59e9b13054c14d08bc1654ae951120a7d /fixincludes/tests/base/bits
parent211d5b9a30550be7905229da85e7bbbf20801e12 (diff)
downloadgcc-7e4d47f0f9c19a5d495592749610a399f42834c4.tar.gz
* inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than __STDC_VERSION__ < 199901L. (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L with #ifdef __GNUC_GNU_INLINE__. (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L with defined(__GNUC_STDC_INLINE__). (glibc_c99_inline_4): Change select, add second c_fix_arg. Replace #if __STDC_VERSION__ < 199901L with #ifdef __GNUC_GNU_INLINE__. * fixincl.x: Regenerated. * tests/base/bits/string2.h: Update. * tests/base/sys/sysmacros.h: Update. * tests/base/sys/stat.h: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123216 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/tests/base/bits')
-rw-r--r--fixincludes/tests/base/bits/string2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixincludes/tests/base/bits/string2.h b/fixincludes/tests/base/bits/string2.h
index 0d37faaad69..1da54fdec70 100644
--- a/fixincludes/tests/base/bits/string2.h
+++ b/fixincludes/tests/base/bits/string2.h
@@ -10,7 +10,7 @@
#if defined( GLIBC_C99_INLINE_3_CHECK )
-# if defined(__cplusplus) || __STDC_VERSION__ >= 19901L
+# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)
# define __STRING_INLINE inline
# else
# define __STRING_INLINE extern __inline