OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7aed9
)
Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since we
author
Bernd Schmidt
<bernds_cb1@t-online.de>
Wed, 4 Jun 2008 14:04:08 +0000
(14:04 -0000)
committer
Bernd 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
patch
|
blob
|
history
diff --git
a/include/signal.h
b/include/signal.h
index
3eaee49
..
610acdc
100644
(file)
--- 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
-#if
def __USE_BSD
+#if
defined __USE_BSD || !defined __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
__THROW;
#else