From 436bc06bbf34e5c1b707cde726649f14fee310d4 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Wed, 4 Jun 2008 14:04:08 +0000 Subject: Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we were still defining signal to sysv_signal. --- include/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/signal.h') 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 -- cgit v1.2.3