summaryrefslogtreecommitdiff
path: root/include/signal.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2008-06-04 14:04:08 +0000
committerBernd Schmidt <bernds_cb1@t-online.de>2008-06-04 14:04:08 +0000
commit436bc06bbf34e5c1b707cde726649f14fee310d4 (patch)
tree19d7f18ce3916b383f2a29641a518b34ff4d0757 /include/signal.h
parent6d7aed92f2715b3db4472b748fef06f1eaf6b30e (diff)
Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
were still defining signal to sysv_signal.
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 3eaee4931..610acdc70 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -89,7 +89,7 @@ extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
handler, or SIG_ERR on error.
By default `signal' has the BSD semantic. */
__BEGIN_NAMESPACE_STD
-#ifdef __USE_BSD
+#if defined __USE_BSD || !defined __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
__THROW;
#else