diff options
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index e40527b1bb6..c0d09b2d33c 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -522,11 +522,11 @@ int BLI_stat(const char *path, struct stat *buffer) UTF16_ENCODE(path); /* workaround error in MinGW64 headers, normally, a wstat should work */ - #ifndef __MINGW64__ +#ifndef __MINGW64__ r = _wstat(path_16, buffer); - #else +#else r = _wstati64(path_16, buffer); - #endif +#endif UTF16_UN_ENCODE(path); return r; |