Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com From: Corinna Vinschen Date: Sun, 17 Dec 2000 13:52:23 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="US-ASCII" To: cygwin References: <3A3BDF37.21069.146BBB5@localhost> <3A3C42E6.9955.2CC1F70@localhost> In-Reply-To: <3A3C42E6.9955.2CC1F70@localhost> Subject: Re: Where is h_errno? MIME-Version: 1.0 Message-Id: <0012171352230R.00473@cygbert> Content-Transfer-Encoding: 8bit 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@cygwin.com Red Hat, Inc. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com