From: Rich Felker Date: Sun, 20 Feb 2011 06:48:51 +0000 (-0500) Subject: move the GNU siginfo renaming so it doesn't lead to mismatching names X-Git-Tag: v0.7.0~80 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=855df698c49610696c562979790381414243c63c;p=oweals%2Fmusl.git move the GNU siginfo renaming so it doesn't lead to mismatching names --- diff --git a/include/signal.h b/include/signal.h index 9db7b2e3..f5e87c78 100644 --- 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