summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f6330d8c86..d4603632f7 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -29,7 +29,7 @@
#include "config.h"
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && !defined(__MINGW32CE__)
# include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w))
#endif