svn commit: trunk/uClibc/include
bernds at uclibc.org
bernds at uclibc.org
Wed Jun 4 14:04:09 UTC 2008
Author: bernds
Date: 2008-06-04 07:04:08 -0700 (Wed, 04 Jun 2008)
New Revision: 22214
Log:
Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
were still defining signal to sysv_signal.
Modified:
trunk/uClibc/include/signal.h
Changeset:
Modified: trunk/uClibc/include/signal.h
===================================================================
--- trunk/uClibc/include/signal.h 2008-06-04 14:02:56 UTC (rev 22213)
+++ trunk/uClibc/include/signal.h 2008-06-04 14:04:08 UTC (rev 22214)
@@ -89,7 +89,7 @@
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
More information about the uClibc-cvs
mailing list