diff options
author | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-25 23:51:47 +0000 |
---|---|---|
committer | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-25 23:51:47 +0000 |
commit | 759bfb144806f9fe3aa475ff00b44b52350a45eb (patch) | |
tree | 5b086663c4800582cbd23273971f6a22423cdd80 /fixincludes/tests/base | |
parent | 2197fd815118cf260449f0a3b922eee86e82db89 (diff) | |
download | ppe42-gcc-759bfb144806f9fe3aa475ff00b44b52350a45eb.tar.gz ppe42-gcc-759bfb144806f9fe3aa475ff00b44b52350a45eb.zip |
2007-07-24 Krister Walfridsson <cato@df.lth.se>
PR target/30058
* inclhack.def (netbsd_c99_inline_2): New.
* fixincl.x: Regenerate.
* tests/base/signal.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/tests/base')
-rw-r--r-- | fixincludes/tests/base/signal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fixincludes/tests/base/signal.h b/fixincludes/tests/base/signal.h index 91afbedb01c..1c4517e2c4b 100644 --- a/fixincludes/tests/base/signal.h +++ b/fixincludes/tests/base/signal.h @@ -18,3 +18,12 @@ __inline int sigaddset(sigset_t *set, int signo) {} #endif /* NETBSD_C99_INLINE_1_CHECK */ + + +#if defined( NETBSD_C99_INLINE_2_CHECK ) +#ifdef __GNUC_STDC_INLINE__ +#define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline +#else +#define _SIGINLINE extern __inline +#endif +#endif /* NETBSD_C99_INLINE_2_CHECK */ |