Tom Lane wrote:
> "Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>
>>Tom - which method do you think is best to go with?
>
>
> I dislike propagating #ifdef WIN32's into sections of the code that are
> currently free of them. So I'd vote for the map-to-errno approach.
> It's a judgment call though ...
I understand your disliking of non-posix stuff. OTOH, GetLastError will
give much more details than errno.
Regards,
Andreas