Re: [ curl-Bugs-1824894 ] Recent addition of ws2tcpip.h to curl.hbreaksC++ apps (fwd)
Date: Tue, 6 Nov 2007 19:33:48 +0100
2007/11/4, Gisle Vanem wote:
> Foregn headers should be at the top, yes (not sure what <support/SupportDefs.h>
> does for BeOS).
First step taken.
The inclusion of any header file in curl.h now is outside of the C++
extern "C" linkage block. Besides the fact of including the headers
earlier there should be no additional side effect. This change by
itself fixes the bug report.
A couple of additional changes related with the definition of the
WIN32 symbol and socklen_t could follow, but I'll leave those for
another day when I can make further tests.
-- -=[Yang]=-Received on 2007-11-06