ismindex: Replace mkdir ifdeffery by os_support.h #include
authorDiego Biurrun <diego@biurrun.de>
Sun, 4 Aug 2013 22:06:06 +0000 (00:06 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 5 Aug 2013 09:38:00 +0000 (11:38 +0200)
os_support.h contains more precise workarounds for non-POSIX mkdir().

tools/ismindex.c

index ad1f3a8..cf89f5c 100644 (file)
 
 #include <stdio.h>
 #include <string.h>
-#include <sys/stat.h>
-#ifdef _WIN32
-#include <direct.h>
-#define mkdir(a, b) _mkdir(a)
-#endif
 
 #include "libavformat/avformat.h"
+#include "libavformat/os_support.h"
 #include "libavutil/intreadwrite.h"
 #include "libavutil/mathematics.h"