Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2020-02-18 13:17:43 +0300
committerCorinna Vinschen <corinna@vinschen.de>2020-02-18 13:25:12 +0300
commit40245925ce9d6b9a9c4ed6140cea39d948d10898 (patch)
tree45355d822e6cebdc912930b23aee1b5c56214c40 /winsup/cygwin/strsig.cc
parentf3793803a7dcdaa8319a30bea26dd4f9c9507559 (diff)
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>
Diffstat (limited to 'winsup/cygwin/strsig.cc')
-rw-r--r--winsup/cygwin/strsig.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/strsig.cc b/winsup/cygwin/strsig.cc
index 6c7bdd37c..03f959f88 100644
--- a/winsup/cygwin/strsig.cc
+++ b/winsup/cygwin/strsig.cc
@@ -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)
{