Cygwin: rename NSIG to _NSIG, change visibility of NSIG to MISC
NSIG is a deprecated symbol only visible under MISC visibility. _NSIG is used widely instead, and on most systems NSIG is defined in terms of _NSIG. Follow suit: Change NSIG to _NSIG throughout and change visiblity of NSIG to be defined only in __MISC_VISIBLE case. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -174,7 +174,7 @@ psiginfo (const siginfo_t *info, const char *s)
|
||||
|
||||
ADD (strsignal (info->si_signo));
|
||||
|
||||
if (info->si_signo > 0 && info->si_signo < NSIG)
|
||||
if (info->si_signo > 0 && info->si_signo < _NSIG)
|
||||
{
|
||||
switch (info->si_signo)
|
||||
{
|
||||
|
Reference in New Issue
Block a user