On Wed, 10 Apr 2002, Patrick Powell wrote: > Date: Wed, 10 Apr 2002 08:20:38 -0700 (PDT) > From: Patrick Powell <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Re: LPRng: patch for 3.8.10 to compile on Solaris 2.6 > > Doh! Yes, you are quite correct, and get the > It's Obvious When You See It award... >
I suggest you keep the 64bit test, though, as (unsigned long)0xffffffff won't be the same as (unsigned long)-1 when long is 64 bit which would be the resulting code if INADDR_NONE is not defined by the included system headers as one would expect it is supposed to be. What was the original problem again? I can't see there could have been any problem unless that Solaris 2.6 was compiling LPRng in 64 bit mode, and on Solaris, as far as I know, you can always compile this as a 32 bit executable and run it as such even on 64 bit hardware. Villy ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
