diff options
author | rogerdpack <[email protected]> | 2012-09-05 16:22:58 -0600 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2012-09-06 04:42:43 +0200 |
commit | ef122ff5072463366c020157f0a27aad7e6610db (patch) | |
tree | 7f0fd5748ed620ae1e2fa527933eff6d7d093f07 | |
parent | 52fa5cea0377974618e8c6486ee0830c2ed9d96a (diff) |
eliminate some mingw warnings
Signed-off-by: rogerdpack <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavformat/os_support.h | 6 |
1 files changed, 6 insertions, 0 deletions
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__) */ |