cURL / Mailing Lists / curl-library / Single Mail


Re: [ curl-Bugs-1824894 ] Recent addition of ws2tcpip.h to curl.hbreaksC++ apps (fwd)

From: Gisle Vanem <>
Date: Sun, 04 Nov 2007 07:18:55 +0100

"Daniel Stenberg" <> wrote:

> On Sat, 3 Nov 2007, Gisle Vanem wrote:
>> I don't have a working MSVC++ compiler setup at the moment. But the reporter
>> of the problem proposed a solution. Here's a more elegant version:
> Possibly an even nicer fix is to move as many of the includes as possible
> higher up and keep them all outside of the "extern" thing, don't you think?

Foregn headers should be at the top, yes (not sure what <support/SupportDefs.h>
does for BeOS).

> Or do we have any preprocessor magic of our own we really need to do before we
> include anything?

Don't think so since most defines are properly CURL_ified.

Received on 2007-11-04