aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/bits/string2.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-03-26 15:25:26 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2007-03-26 15:25:26 +0200
commitcb3790cb4e360256af0cfcd99a7933f1c172d40a (patch)
tree3feb17c59e9b13054c14d08bc1654ae951120a7d /fixincludes/tests/base/bits/string2.h
parent85acef0e287df062aa1626e19661df734bd91dc8 (diff)
downloadgcc-cb3790cb4e360256af0cfcd99a7933f1c172d40a.zip
gcc-cb3790cb4e360256af0cfcd99a7933f1c172d40a.tar.gz
gcc-cb3790cb4e360256af0cfcd99a7933f1c172d40a.tar.bz2
inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES if __extern_inline or __GNUC_GNU_INLINE__ is...
* 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. From-SVN: r123216
Diffstat (limited to 'fixincludes/tests/base/bits/string2.h')
-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 0d37faa..1da54fd 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