From cf73d814960bc8ac78c462077c8be2feb292b4ca Mon Sep 17 00:00:00 2001 From: hp Date: Tue, 18 Dec 2007 03:22:37 +0000 Subject: * 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 --- fixincludes/tests/base/features.h | 23 +++++++++++++++++++++++ fixincludes/tests/base/wchar.h | 15 +++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 fixincludes/tests/base/features.h (limited to 'fixincludes/tests/base') 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 */ -- cgit v1.2.1