summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorrogerdpack <rogerpack2005@gmail.com>2012-09-05 16:22:58 -0600
committerMichael Niedermayer <michaelni@gmx.at>2012-09-06 04:42:43 +0200
commitef122ff5072463366c020157f0a27aad7e6610db (patch)
tree7f0fd5748ed620ae1e2fa527933eff6d7d093f07 /libavformat
parent52fa5cea0377974618e8c6486ee0830c2ed9d96a (diff)
eliminate some mingw warnings
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/os_support.h6
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__) */