cURL / Mailing Lists / curl-library / Single Mail


RE: Errno constants conflict on VC10

From: Tanguy Fautre <>
Date: Fri, 30 Apr 2010 17:27:04 +0100

> -----Original Message-----
> From: [mailto:curl-library-
>] On Behalf Of Yang Tse
> Sent: 30 April 2010 4:10 PM
> To: libcurl development
> Subject: Re: Errno constants conflict on VC10
> 2010/4/30, Tanguy Fautre wrote:
> >
> > #define EADDRINUSE 100
> > [...]
> > #define EWOULDBLOCK 140
> How nice. I assume that you are saying that all of the above are
> unconditionally defined in errno.h. Please confirm this or show which
> preprocessor statement makes them visible.

Yes, I confirm it's unconditionally defined in errno.h.

> Well, I hope you test the proposed fix. So if something is still
> missing, it won't go unnoticed.

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.

> Just stick around reading
> meanwhile.

I assume you're referring to the top-posting problem. Well, what can I say except "Outlook"? Believe me, if I could I would use Thunderbird at the office. Though I've look a bit at Outlook's options, it should be better now



List admin:

Received on 2010-04-30