diff options
author | Vincent Torri <vincent_dot_torri_at_gmail_dot_com> | 2012-01-29 10:45:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-03 19:51:13 +0100 |
commit | ed3c0fe85dd5c228e98126b18e50ffb617e77070 (patch) | |
tree | 29ecb8889c7310a5955d81398010d24d9edece34 /libavformat/os_support.h | |
parent | 1f0fa80bfa7a0a2ee455679510761f7e138444ae (diff) | |
download | ffmpeg-ed3c0fe85dd5c228e98126b18e50ffb617e77070.tar.gz |
Remove some warnings when compiling with mingw (mingw-w64, 32 bits)
Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r-- | libavformat/os_support.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h index fca5b2a813..159d4d7f85 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -31,6 +31,9 @@ #if defined(__MINGW32__) && !defined(__MINGW32CE__) # include <fcntl.h> +# ifdef lseek +# undef lseek +# endif # define lseek(f,p,w) _lseeki64((f), (p), (w)) # define stat _stati64 # define fstat(f,s) _fstati64((f), (s)) |