summaryrefslogtreecommitdiffstats
path: root/fixincludes/tests/base
diff options
context:
space:
mode:
authorkristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 23:51:47 +0000
committerkristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-25 23:51:47 +0000
commit759bfb144806f9fe3aa475ff00b44b52350a45eb (patch)
tree5b086663c4800582cbd23273971f6a22423cdd80 /fixincludes/tests/base
parent2197fd815118cf260449f0a3b922eee86e82db89 (diff)
downloadppe42-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.h9
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 */
OpenPOWER on IntegriCloud