Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Reply-To: <nhv@cape.com>
From: "Norman Vine" <nhv@cape.com>
To: <cygwin@sourceware.cygnus.com>
Cc: "'FG_DEVEL'" <fgfs-devel@flightgear.org>
Subject: autoconf and errno.h
Date: Sun, 21 May 2000 09:05:05 -0400
Message-ID: <000001bfc325$35b4a260$9537ba8c@nhv>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
Importance: Normal
In-Reply-To: <39277F56.43288E5E@ece.gatech.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211


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

