delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/03/15:42:29

Message-Id: <200006031940.WAA07420@mailgw1.netvision.net.il>
Date: Sat, 03 Jun 2000 22:39:21 +0200
X-Mailer: Emacs 20.6 (via feedmail 8.1.emacs20_6 I) and Blat ver 1.8.5b
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
To: pjfarley AT banet DOT net (Peter J. Farley III)
CC: djgpp AT delorie DOT com
In-reply-to: <39394199.2750632@news3.banet.net> (pjfarley@banet.net)
Subject: Re: netbd.h, sockets.h, in.h and types.h don't work
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000601085256 DOT 17554C AT is> <3936DA62 DOT 9581F9CE AT bigfoot DOT com> <3936feb4 DOT 2522956 AT news3 DOT banet DOT net> <39380048 DOT CD366DDF AT bigfoot DOT com> <39394199 DOT 2750632 AT news3 DOT banet DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: pjfarley AT banet DOT net (Peter J. Farley III)
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 03 Jun 2000 17:46:32 GMT
> 
> netinet/in.h defines "ntohl", and the application I referred to also
> has a "default" definition for "ntohl" and other networking functions
> that happens when it can't correctly determine the "unix" environment
> in which you are compiling.

The right thing to do is to probe the target environment for available
functions, and refrain from providing replacements if they aren't
needed.

- Raw text -


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