summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index ae8cef7efa..8a757d71a3 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -33,8 +33,11 @@
#if defined(_WIN32) && !defined(__MINGW32CE__)
# include <fcntl.h>
+# undef lseek
# define lseek(f,p,w) _lseeki64((f), (p), (w))
+# undef stat
# define stat _stati64
+# undef fstat
# define fstat(f,s) _fstati64((f), (s))
#endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */