This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]