Re: [Openvpn-devel] [PATCH 3/4] use the underscore version of stat on Windows

2012-02-16 Thread Gert Doering
Hi, On Thu, Feb 16, 2012 at 06:30:40PM +0100, Heiko Hund wrote: > MSVC does not know wstat(). Instead _wstat() must be used here. > Unfortunately _wstat() takes a 'struct _stat'. A type 'stat_t' is > introduced to handle this situation in a portable way. Semi-ACK. In general, ACK, though it mi

[Openvpn-devel] [PATCH 3/4] use the underscore version of stat on Windows

2012-02-16 Thread Heiko Hund
MSVC does not know wstat(). Instead _wstat() must be used here. Unfortunately _wstat() takes a 'struct _stat'. A type 'stat_t' is introduced to handle this situation in a portable way. Signed-off-by: Heiko Hund --- misc.h |6 -- pf.c|2 +- win32.c |4 ++-- 3 files changed, 7