cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Removing WIN32 dependencies

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 21 Jul 2006 10:24:51 -0700

On Fri, Jul 21, 2006 at 06:52:11PM +0200, Gisle Vanem wrote:
> I agree with you; using HAVE_HEADER_H throughout is much cleaner.

But this will mean that headers will be included that aren't strictly
necessary on some platforms. Any platform that has time.h will be loading
with #ifdef HAVE_TIME_H even if only Windows needs it. There are comments
sprinkled through the code explaining how on some systems certain headers
have to be loaded in the correct order or things fail. Loading unneeded
headers like this could cause problems.

Of course, it would be much cleaner if it works.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-07-21