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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index c5d3ab4b33..39d4cb6519 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -31,7 +31,7 @@
#include <sys/stat.h>
-#if defined(__MINGW32__) && !defined(__MINGW32CE__)
+#if defined(_WIN32) && !defined(__MINGW32CE__)
# include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w))
# define stat _stati64