Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20000914145112.28277.qmail@web111.yahoomail.com> Date: Thu, 14 Sep 2000 07:51:12 -0700 (PDT) From: Earnie Boyd Subject: Re: PATCH for the mingw header include/mingw32/stdlib.h To: Marc Herbert , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Marc Herbert wrote: > > Hi, > > It would be nice if the macro HAVE_SYS_ERRLIST could be defined when > the file include/mingw32/stdlib.h defines the symbol sys_errlist > > > > *** stdlib.h 2000/09/14 09:44:30 1.1 > --- stdlib.h 2000/09/14 09:45:26 > *************** > *** 203,208 **** > --- 203,210 ---- > #ifndef __DECLSPEC_SUPPORTED > extern char*** __imp__sys_errlist; > #define sys_errlist (*__imp__sys_errlist) > #else /* __DECLSPEC_SUPPORTED */ > __MINGW_IMPORT char* _sys_errlist[]; > #ifndef _UWIN > #define sys_errlist _sys_errlist > #endif /* _UWIN */ > #endif /* __DECLSPEC_SUPPORTED */ > > + #define HAVE_SYS_ERRLIST > + > /* > * OS version and such constants. > */ > > > We had to do this patch in order to successfully compile > libiberty/strerror.c in -mno-cygwin mode. > > I will send this patch to the mingw mailing-list too. > > IMO, this patch is incorrect. HAVE_SYS_ERRLIST should be set be the autoconfiguration tools and usually set in config.h. Cheers, ===== --- --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com