This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
autoconf and errno.h
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: autoconf and errno.h
- From: "Norman Vine" <nhv at cape dot com>
- Date: Sun, 21 May 2000 09:05:05 -0400
- Cc: "'FG_DEVEL'" <fgfs-devel at flightgear dot org>
- Reply-To: <nhv at cape dot com>
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