[FFmpeg-cvslog] ismindex: Replace mkdir ifdeffery by os_support.h #include

Diego Biurrun git at videolan.org
Tue Aug 6 14:56:06 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Aug  5 00:06:06 2013 +0200| [bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc] | committer: Diego Biurrun

ismindex: Replace mkdir ifdeffery by os_support.h #include

os_support.h contains more precise workarounds for non-POSIX mkdir().

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bea3d6f4363ff1bbbd99c1717f7498b9fdb12cfc
---

 tools/ismindex.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tools/ismindex.c b/tools/ismindex.c
index ad1f3a8..cf89f5c 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"
 



More information about the ffmpeg-cvslog mailing list