changeset 2655:4769b9c268eb

[xemacs-hg @ 2005-03-12 11:00:20 by malcolmp] syssignal.h: Configure always sets HAVE_DECL_SYS_SIGLIST. Test for non-zero.
author malcolmp
date Sat, 12 Mar 2005 11:00:29 +0000
parents bc9723c6bc17
children 0ba09d009197
files src/ChangeLog src/syssignal.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Mar 11 22:52:28 2005 +0000
+++ b/src/ChangeLog	Sat Mar 12 11:00:29 2005 +0000
@@ -1,3 +1,8 @@
+2005-03-11  David Robinow <drobinow@yahoo.com>
+
+	* syssignal.h: Configure always sets HAVE_DECL_SYS_SIGLIST.  Test
+	for non-zero.
+
 2005-03-11  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* XEmacs 21.5.20 "cilantro" is released.
--- a/src/syssignal.h	Fri Mar 11 22:52:28 2005 +0000
+++ b/src/syssignal.h	Sat Mar 12 11:00:29 2005 +0000
@@ -270,7 +270,7 @@
 /* HAVE_DECL_SYS_SIGLIST is determined by configure.  On Linux, it seems,
    configure incorrectly fails to find it, so s/linux.h defines
    HAVE_SYS_SIGLIST. */
-#if !defined (HAVE_DECL_SYS_SIGLIST) && !defined (HAVE_SYS_SIGLIST)
+#if (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST)
 extern const char *sys_siglist[];
 #endif