From 7b07fab5675a616749ba6b9d0dfd89f1b51bdb8e Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 13 Sep 2012 12:34:17 +0300 Subject: os_support: Include io.h instead of direct.h on mingw32ce MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Windows CE doesn't have neither mkdir nor _mkdir officially (only CreateDirectoryW), but mingw32ce has compat wrappers with these names (declared in io.h since direct.h is unavailable). Signed-off-by: Martin Storsjö --- libavformat/os_support.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/os_support.h') diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 533b06beee..4ec37bdc77 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -39,7 +39,11 @@ #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */ #ifdef _WIN32 +#ifdef __MINGW32CE__ +#include +#else #include +#endif #define mkdir(a, b) _mkdir(a) #else #include -- cgit v1.2.3