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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/12/merge
Hendrik Leppkes 12 years ago committed by Michael Niedermayer
parent 6a701306db
commit 713ac21097
  1. 3
      libavformat/os_support.c
  2. 2
      libavformat/os_support.h

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

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

Loading…
Cancel
Save