Commit 713ac210 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6a701306
...@@ -29,6 +29,9 @@ ...@@ -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>
......
...@@ -31,7 +31,7 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment