projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8668f03
)
move the GNU siginfo renaming so it doesn't lead to mismatching names
author
Rich Felker
<dalias@aerifal.cx>
Sun, 20 Feb 2011 06:48:51 +0000
(
01:48
-0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 20 Feb 2011 06:48:51 +0000
(
01:48
-0500)
include/signal.h
patch
|
blob
|
history
diff --git
a/include/signal.h
b/include/signal.h
index 9db7b2e378fa8acc97e0f80acf923b4f8d51438d..f5e87c783c059c32d9538ee5ea348bbdfe87dd86 100644
(file)
--- a/
include/signal.h
+++ b/
include/signal.h
@@
-8,6
+8,10
@@
extern "C" {
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
+#ifdef _GNU_SOURCE
+#define __siginfo siginfo
+#endif
+
#define __NEED_size_t
#define __NEED_pid_t
#define __NEED_uid_t
@@
-88,7
+92,6
@@
void (*sigset(int, void (*)(int)))(int);
#ifdef _GNU_SOURCE
typedef int (*sighandler_t)(int);
void (*bsd_signal(int, void (*)(int)))(int);
-#define __siginfo siginfo
#endif
#include <bits/signal.h>