www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/14/09:24:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <Marc DOT Herbert AT inrialpes DOT fr>
Reply-To: Marc Herbert <Marc DOT Herbert AT inrialpes DOT fr>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: PATCH for the mingw header include/mingw32/stdlib.h
Message-ID: <Pine.SOL.3.94.1000914144804.17845C-100000@ubac.inrialpes.fr>
MIME-Version: 1.0

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

- Raw text -


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