diff options
author | Timur Bakeyev <mc@bat.ru> | 1999-01-25 12:45:51 +0000 |
---|---|---|
committer | Timur I. Bakeyev <timur@src.gnome.org> | 1999-01-25 12:45:51 +0000 |
commit | 9225673ea2758f7828b58389af78f06fcdf698d5 (patch) | |
tree | e5514bb1335dc8ae26fa6d057847434caf959d7a /gstrfuncs.c | |
parent | def1947e4f40d92f904afab9d82cb8ac83d913c3 (diff) |
NO_SYS_SIGLIST_DECL change.
Mon Jan 25 15:34:43 1999 Timur Bakeyev <mc@bat.ru>
* configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
#include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
tion hides there.
Diffstat (limited to 'gstrfuncs.c')
-rw-r--r-- | gstrfuncs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gstrfuncs.c b/gstrfuncs.c index d5c00b7c8..0a1648515 100644 --- a/gstrfuncs.c +++ b/gstrfuncs.c @@ -31,7 +31,7 @@ #include <string.h> #include <locale.h> #include <ctype.h> /* For tolower() */ -#if !defined (HAVE_STRSIGNAL) && NO_SYS_SIGLIST +#if !defined (HAVE_STRSIGNAL) || !defined(NO_SYS_SIGLIST_DECL) #include <signal.h> #endif #include "glib.h" @@ -762,9 +762,8 @@ g_strsignal (gint signum) } #else /* NO_SYS_SIGLIST */ -#ifndef NO_SYS_SIGLIST_DECL - /*(see Tue Jan 19 00:44:24 1999 in changelog)*/ - extern char *sys_siglist[]; +#ifdef NO_SYS_SIGLIST_DECL + extern char *sys_siglist[]; /*(see Tue Jan 19 00:44:24 1999 in changelog)*/ #endif return (char*) /* this function should return const --josh */ sys_siglist [signum]; |