cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Errno constants conflict on VC10

From: Tanguy Fautre <tanguyf_at_aristechnologies.com>
Date: Mon, 17 May 2010 15:56:36 +0100

> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se [mailto:curl-library-
> bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
> Sent: 14 May 2010 10:18 PM
> To: libcurl development
> Subject: RE: Errno constants conflict on VC10
>
> On Fri, 30 Apr 2010, Tanguy Fautre wrote:
>
> > I've just tested undefining all conflicting macros from errno to force Curl
> > to use the WSA values (see modified setup_once.h as attached). Unless I've
> > missed something, this should lead to the same behaviour as under previous
> > VC versions.
>
> As this topic seems to have not progressed further since then, can you please
> provide this change as a diff/patch for us to review? (make it with diff -u
> or
> possibly with git directly)

Here it is. I've used TortoiseSVN to create the unified diff, hopefully it shouldn't be a problem.

We've been using this patch for a couple of weeks now, no problem to report so far.

Tanguy

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-05-17