Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Hendrik Leppkes Michael Niedermayer 12 years ago
parent
commit
713ac21097
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      libavformat/os_support.c
  2. +1
    -1
      libavformat/os_support.h

+ 3
- 0
libavformat/os_support.c View File

@@ -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>


+ 1
- 1
libavformat/os_support.h View File

@@ -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