delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/27/12:34:56

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
Message-ID: <779F20BCCE5AD31186A50008C75D99791716CA@SILLDN_MAIL1>
From: "Fifer, Eric" <EFifer AT sanwaint DOT com>
To: "'Chris Faylor'" <cgf AT cygnus DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: RE: Using h_errno, errno etc Cygwin DLL globals [Re: Making wget]
Date: Thu, 27 Jan 2000 17:16:35 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

>Care to submit a patch?

Actually, I'm not sure which style is the correct fix.

I think I would favor "__declspec(dllimport) h_errno"
(nowhere else in Cygwin does exported data use #define
with an __imp_ prefix, although mingw does).  But, I've seen some
code (in perl) which does a "#if !defined(h_errno)", so maybe
there are good portability reasons for a #define.  I'll defer
to someone who knows.

Also, something recently changed in the development snapshots
with respect to h_errno.  Because, I just noticed this problem
when I updated my snapshot this week.

Eric 

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