This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
[PATCH 21.5.20] HAVE_DECL_SYS_SIGLIST instead ofSYS_SIGLIST_DECLARED in sysdep.c
- From: "Dr. Volker Zell" <Dr dot Volker dot Zell at oracle dot com>
- To: cygwin-patches mailing-list <cygwin-patches at cygwin dot com>
- Date: Fri, 06 May 2005 20:28:01 +0200
- Subject: [PATCH 21.5.20] HAVE_DECL_SYS_SIGLIST instead ofSYS_SIGLIST_DECLARED in sysdep.c
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