On Wed, 25 Jan 2012, Diego Biurrun wrote:
On Wed, Jan 25, 2012 at 01:48:46PM +0200, Martin Storsjö wrote:
--- a/tools/ismindex.c
+++ b/tools/ismindex.c
@@ -35,6 +35,10 @@
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
+#ifdef _WIN32
+#include <io.h>
+#define mkdir(a, b) mkdir(a)
+#endif
#include "libavformat/avformat.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
libavformat/os_support.h would seem like a better place to hide this
ugliness.
os_support.h isn't an installed header, and I've tried to design this tool
to only use the public API (so it could be built as a standalone external
tool, too).
Also, an empty line between system and local headers would be nice.
Done locally.
// Martin
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel