cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: LONG_MAX patch

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 22 Jan 2004 12:58:21 +0100 (CET)

On Wed, 21 Jan 2004, Gisle Vanem wrote:

> > I think I'm now in favour of adding magic similar to this in an external
> > public curl header file:

> I was mistaken; Watcom do support 'long long' natively.

Ah, ok. I'll go with that!

> Why not use "#if defined .. / #elif defined .." syntax to avoid the clutter
> with multiple "#endif"' ? Are there still old pre-processors out there?

I have a vague memory of an #elif that once caused some problems, so I try to
avoid it. I'm not 100% sure it is necessary but then it doesn't hurt that much
either.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-22