[PATCH 21.5.20] HAVE_DECL_SYS_SIGLIST instead of SYS_SIGLIST_DECLARED in sysdep.c

Dr. Volker Zell Dr.Volker.Zell@oracle.com
Fri May 6 18:25:00 GMT 2005


2005-05-06  Dr. Volker Zell  <Dr.Volker.Zell@oracle.com>

	* sysdep.c: Use autoconf 2.59's HAVE_DECL_SYS_SIGLIST instead of
	SYS_SIGLIST_DECLARED.

diff -u -p /usr/src/xemacs-21.5.20/src/sysdep.c.orig /usr/src/xemacs-21.5.20/src/sysdep.c
--- /usr/src/xemacs-21.5.20/src/sysdep.c.orig	2005-05-06 20:23:47.473737600 +0200
+++ /usr/src/xemacs-21.5.20/src/sysdep.c	2005-05-06 20:23:47.533824000 +0200
@@ -3829,7 +3829,7 @@ get_random (void)
 /*               Strings corresponding to defined signals               */
 /************************************************************************/
 
-#if !defined (SYS_SIGLIST_DECLARED) && !defined (HAVE_SYS_SIGLIST)
+#if (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST)
 
 #if defined(WIN32_NATIVE) || defined(CYGWIN)
 const char *sys_siglist[] =
@@ -4031,7 +4031,7 @@ const char *sys_siglist[NSIG + 1] =
   };
 #endif /* DGUX */
 
-#endif /* ! SYS_SIGLIST_DECLARED && ! HAVE_SYS_SIGLIST */
+#endif /* (!defined(HAVE_DECL_SYS_SIGLIST) || !HAVE_DECL_SYS_SIGLIST ) && !defined (HAVE_SYS_SIGLIST) */
 
 
 /************************************************************************/

Ciao
  Volker



More information about the Cygwin-patches mailing list