diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-05 00:22:32 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-12-05 00:22:32 +0000 |
commit | 5c32b105e0f32429315a70493a066cf8083b41a0 (patch) | |
tree | c4607840f6b3bf50d6961ed1e8442a8b3bc96b1f /libiberty/strsignal.c | |
parent | 5de9d9cbc6117b07ac383e97029ff2ef0c2ae787 (diff) | |
download | gcc-5c32b105e0f32429315a70493a066cf8083b41a0.tar.gz |
* strsignal.c (sys_nsig): Try NSIG and _NSIG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16952 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/strsignal.c')
-rw-r--r-- | libiberty/strsignal.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/strsignal.c b/libiberty/strsignal.c index 7d40b4cedff..45b052826df 100644 --- a/libiberty/strsignal.c +++ b/libiberty/strsignal.c @@ -243,7 +243,13 @@ static const char **sys_siglist; #else +#ifdef NSIG static int sys_nsig = NSIG; +#else +#ifdef _NSIG +static int sys_nsig = NSIG; +#endif +#endif extern const char * const sys_siglist[]; #endif |