OSDN Git Service

Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
authorBernd Schmidt <bernds_cb1@t-online.de>
Wed, 4 Jun 2008 14:04:08 +0000 (14:04 -0000)
committerBernd Schmidt <bernds_cb1@t-online.de>
Wed, 4 Jun 2008 14:04:08 +0000 (14:04 -0000)
were still defining signal to sysv_signal.

include/signal.h

index 3eaee49..610acdc 100644 (file)
@@ -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