""Magnus Hagander"" <mha@sollentuna.net> wrote
> I've been working on getting the full backend to compile and run using
> Visual C++ instead of mingw/gcc, and have made some good progress.
>
This is great!
> *) Add s_lock implementation based on InterlockedCompareExchange instead
> of assembly code (gcc style asm not supported, and this should probably
> be about as fast from what I hear)
_InterlockedCompareExchange is even better IMHO ...
> src/port/dirent.c - opendir/readdir/closedir implementation for win32,
> that doesn't even have the bugs mingw had in it ;)
But seems it has a typo ;-) Check out this line:
errno = GetLastError();
Regards,
Qingqing