This is the mail archive of the cygwin@sourceware.cygnus.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]

autoconf and errno.h



Any advice as to how to have autoconf determine 
__RECENT_CYGWIN_ERRNO_BEHAVIOR__
as used below

#if defined( __CYGWIN__ )
 #include <errno.h>
 #if defined( __RECENT_CYGWIN_ERRNO_BEHAVIOR__ )
  const char *const *sys_errlist = _sys_errlist;
 #else
  extern const char *const sys_errlist[];
 #endif
#else
 extern int errno;
 extern const char *const sys_errlist[];
#endif

or advice as to another way to use sys_errlist portably.

Thanks in advance

Norman Vine  --  nhv@cape.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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