Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Diego Biurrun wrote: On Wed, Jan 25, 2012 at 11:49:28PM +0200, Martin Storsjö wrote: On Wed, 25 Jan 2012, Martin Storsjö wrote: 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

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Diego Biurrun
On Wed, Jan 25, 2012 at 11:49:28PM +0200, Martin Storsjö wrote: > On Wed, 25 Jan 2012, Martin Storsjö wrote: > > >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 > >>>@@

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
On Wed, 25 Jan 2012, Martin Storsjö wrote: 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 #include #include +#ifdef _WIN32 +#include +#define mkdir(a, b

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
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 #include #include +#ifdef _WIN32 +#include +#define mkdir(a, b) mkdir(a) +#endif #include "libavformat/avf

Re: [libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Diego Biurrun
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 > #include > #include > +#ifdef _WIN32 > +#include > +#define mkdir(a, b) mkdir(a) > +#endif > #include "libavformat/avformat.h" > #include "

[libav-devel] [PATCH 1/2] ismindex: Fix build on mingw

2012-01-25 Thread Martin Storsjö
--- tools/ismindex.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/tools/ismindex.c b/tools/ismindex.c index 4e14d19..fc97974 100644 --- a/tools/ismindex.c +++ b/tools/ismindex.c @@ -35,6 +35,10 @@ #include #include #include +#ifdef _WIN32 +#include +#define mk