Browse Source

Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
were still defining signal to sysv_signal.

Bernd Schmidt 16 years ago
parent
commit
436bc06bbf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/signal.h

+ 1 - 1
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