delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/29/18:21:05

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Thu, 29 Jun 2000 18:20:26 -0400
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: include incompatibilities
Message-ID: <20000629182026.B8571@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com
References: <200006292122 DOT XAA02938 AT mail DOT arco DOT de>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <200006292122.XAA02938@mail.arco.de>; from towo@computer.org on Thu, Jun 29, 2000 at 11:22:45PM +0200

On Thu, Jun 29, 2000 at 11:22:45PM +0200, towo AT computer DOT org wrote:
>I had lamented about incompatible changes in include files.
>May I repeat the practical essence of my previous mail which is the 
>question: How can these things be detected by #ifdef's without 
>referring to actual system specifics as below?
>
>#include <errno.h>
>#ifdef __CYGWIN__	/* and version > something ... ! */
>#define sys_nerr _sys_nerr
>#define sys_errlist _sys_errlist
>#endif
>
>(On "classical" systems, the exported names are without underlines - 
>why do these name manglings have to be imposed on us?)

I guess "classical" systems does not include linux.

You're talking about normal problems with porting software between various
systems.  This kind of thing is a fact of life that you have to live with.

It's the reason for things like autoconf and MetaConfig.  Perhaps using
one of those two packages is the solution you're straining for.

cgf

--
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