diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-18 03:22:37 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-12-18 03:22:37 +0000 |
commit | cf73d814960bc8ac78c462077c8be2feb292b4ca (patch) | |
tree | a21691d865a012c4d9abfbf9583014553f3379ac /fixincludes/tests/base | |
parent | fde7512ffc6af5acc2be68af6d0030949e5e2633 (diff) | |
download | gcc-cf73d814960bc8ac78c462077c8be2feb292b4ca.tar.gz |
* inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
* fixincl.x: Regenerate.
* tests/base/wchar.h: Update.
* tests/base/features.h: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/tests/base')
-rw-r--r-- | fixincludes/tests/base/features.h | 23 | ||||
-rw-r--r-- | fixincludes/tests/base/wchar.h | 15 |
2 files changed, 38 insertions, 0 deletions
diff --git a/fixincludes/tests/base/features.h b/fixincludes/tests/base/features.h new file mode 100644 index 00000000000..93838c71253 --- /dev/null +++ b/fixincludes/tests/base/features.h @@ -0,0 +1,23 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/features.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( GLIBC_C99_INLINE_1_CHECK ) +#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ +# define __USE_EXTERN_INLINES 1 +#endif +#endif /* GLIBC_C99_INLINE_1_CHECK */ + + +#if defined( GLIBC_C99_INLINE_1A_CHECK ) +#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ && (defined __extern_inline || defined __GNUC_GNU_INLINE__) +# define __USE_EXTERN_INLINES 1 +#endif +#endif /* GLIBC_C99_INLINE_1A_CHECK */ diff --git a/fixincludes/tests/base/wchar.h b/fixincludes/tests/base/wchar.h index 5c0b9dfe86a..5ca5adeb0e1 100644 --- a/fixincludes/tests/base/wchar.h +++ b/fixincludes/tests/base/wchar.h @@ -13,3 +13,18 @@ extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__("wcstok_r"); extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__("__wcsftime_isoc"); #endif /* ALPHA_WCHAR_CHECK */ + + +#if defined( GLIBC_C99_INLINE_5_CHECK ) +__extension__ +#ifdef __GNUC_GNU_INLINE__ +extern +#endif +__inline double +__extension__ __extern_inline long + +#ifdef __GNUC_GNU_INLINE__ +extern +#endif +__inline unsigned int +#endif /* GLIBC_C99_INLINE_5_CHECK */ |