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 Date: Thu, 14 Sep 2000 15:23:12 +0200 (MET DST) From: Marc Herbert Reply-To: Marc Herbert To: cygwin AT sourceware DOT cygnus DOT com Subject: PATCH for the mingw header include/mingw32/stdlib.h Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Sincerely, -- Marc Herbert | GIE Dyade (Bull/INRIA) Marc DOT Herbert AT inria DOT fr | http://www.dyade.fr/ tel: +33 4 7661 5258 | VASY Project fax: +33 4 7661 5252 | http://www.inrialpes.fr/vasy -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com