delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/21/09:10:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Cc: "'FG_DEVEL'" <fgfs-devel AT flightgear DOT 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
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 AT cape DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019