avutil/os_support: use 64-bit fstat/lseek variants for MSVC as well

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Hendrik Leppkes 2013-03-12 16:45:13 +01:00 committed by Michael Niedermayer
parent 6a701306db
commit 713ac21097
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,9 @@
#if defined(_WIN32) && !defined(__MINGW32CE__) #if defined(_WIN32) && !defined(__MINGW32CE__)
#undef open #undef open
#undef lseek
#undef stat
#undef fstat
#include <fcntl.h> #include <fcntl.h>
#include <io.h> #include <io.h>
#include <windows.h> #include <windows.h>

View File

@ -31,7 +31,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#if defined(__MINGW32__) && !defined(__MINGW32CE__) #if defined(_WIN32) && !defined(__MINGW32CE__)
# include <fcntl.h> # include <fcntl.h>
# ifdef lseek # ifdef lseek
# undef lseek # undef lseek