From bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc Mon Sep 17 00:00:00 2001 From: Diego Biurrun <diego@biurrun.de> Date: Mon, 5 Aug 2013 00:06:06 +0200 Subject: [PATCH] ismindex: Replace mkdir ifdeffery by os_support.h #include os_support.h contains more precise workarounds for non-POSIX mkdir(). --- tools/ismindex.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/ismindex.c b/tools/ismindex.c index ad1f3a848cb..cf89f5c1e12 100644 --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -34,13 +34,9 @@ #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" -- GitLab