os_support: use the appropriate stat functions matching the stat type

The stat struct is defined to stati64, which requires using the appropriate wstati/stati functions as well.
Fixes a whole bunch of compiler warnings as well as build breakage with the decklink avdevice.

Fixes trac 
This commit is contained in:
Hendrik Leppkes 2016-06-14 17:02:40 +02:00
parent ddffafc0b0
commit cb46b78b2e

@ -203,7 +203,7 @@ fallback: \
} }
DEF_FS_FUNCTION2(access, _waccess, _access, int) DEF_FS_FUNCTION2(access, _waccess, _access, int)
DEF_FS_FUNCTION2(stat, _wstat64, _stat64, struct stat*) DEF_FS_FUNCTION2(stat, _wstati64, _stati64, struct stat*)
static inline int win32_rename(const char *src_utf8, const char *dest_utf8) static inline int win32_rename(const char *src_utf8, const char *dest_utf8)
{ {