From ef122ff5072463366c020157f0a27aad7e6610db Mon Sep 17 00:00:00 2001 From: rogerdpack Date: Wed, 5 Sep 2012 16:22:58 -0600 Subject: [PATCH] eliminate some mingw warnings Signed-off-by: rogerdpack Signed-off-by: Michael Niedermayer --- libavformat/os_support.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 6110a334d1..b15b105487 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -37,7 +37,13 @@ # undef lseek # endif # define lseek(f,p,w) _lseeki64((f), (p), (w)) +# ifdef stat +# undef stat +# endif # define stat _stati64 +# ifdef fstat +# undef fstat +# endif # define fstat(f,s) _fstati64((f), (s)) #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */