On Tuesday 17 July 2012 17:25:25 Alon Bar-Lev wrote: > Just I don't like the CONNECT_IN_PROGRESS. > I think it is better to rebase first and then submit the > CONNECT_IN_PROGRESS afterwards, I think it would be simpler to just > compare to the two statuses.
That would result in either something like if (status == EINPROGRESS #ifdef WIN32 || status == WSAEWOULDBLOCK #endif ) or slightly less disturbing #ifndef WSAEWOULDBLOCK #define WSAEWOULDBLOCK 10035L #endif I do prefer the suggested approach resolving this with configure over these. Or did you have something more attractive in mind? Heiko -- Heiko Hund | Sr. Software Engineer | Tel +49-721-25516-237 | Fax -200 SOPHOS NSG | Amalienbadstr. 41 Bau 52 | 76227 Karlsruhe | Germany