mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
os_support: Include io.h instead of direct.h on mingw32ce
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ö <martin@martin.st>
This commit is contained in:
parent
91ff4e83ca
commit
7b07fab567
@ -39,7 +39,11 @@
|
||||
#endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef __MINGW32CE__
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#define mkdir(a, b) _mkdir(a)
|
||||
#else
|
||||
#include <sys/stat.h>
|
||||
|
Loading…
Reference in New Issue
Block a user