From ca6b544ac9d07dcd4d151d5729f0bf52f4f8653d Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Thu, 13 Sep 2012 14:26:10 +0300 Subject: os_support: Choose between direct.h and io.h using a configure check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavformat/os_support.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/os_support.h') diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 4ec37bdc77..1bf79ebc6d 100644 --- a/libavformat/os_support.h +++ b/libavformat/os_support.h @@ -39,10 +39,10 @@ #endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */ #ifdef _WIN32 -#ifdef __MINGW32CE__ -#include -#else +#if HAVE_DIRECT_H #include +#elif HAVE_IO_H +#include #endif #define mkdir(a, b) _mkdir(a) #else -- cgit v1.2.3