delorie.com/archives/browse.cgi | search |
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 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
Date: | Sun, 17 Dec 2000 13:52:23 +0100 |
X-Mailer: | KMail [version 1.1.99] |
To: | cygwin <cygwin AT cygwin DOT com> |
References: | <3A3BDF37 DOT 21069 DOT 146BBB5 AT localhost> <3A3C42E6 DOT 9955 DOT 2CC1F70 AT localhost> |
In-Reply-To: | <3A3C42E6.9955.2CC1F70@localhost> |
Subject: | Re: Where is h_errno? |
MIME-Version: | 1.0 |
Message-Id: | <0012171352230R.00473@cygbert> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id HAA21452 |
On Sunday 17 December 2000 13:36, Stephen C. Biggs wrote: > > Did you search the include files before sending this mail? > > Yes I did... the only definition that resolves to something is in > w32api/winsock.h. This doesn't work if I am trying to compile a Unix > tarball (apache). netdb.h has an extern but only if > __INSIDE_CYGWIN_NET__ No. It contains #ifdef __INSIDE_CYGWIN_NET__ extern int h_errno; #else extern __declspec(dllimport) int h_errno; #endif > > Did you eliminate the `extern int h_errno;' line(s) when __CYGWIN__ > > is defined? > > What would that do? The compile will then exit with an undefined > symbol instead of getting to the linker error. It wouldn't conflict with the above definition in netdb.h It's the same situation as it's with errno. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |