Re: [libav-devel] [PATCH 1/3] avutil: Include io.h with a separate condition from windows console functions

2012-11-30 Thread Måns Rullgård
Martin Storsjö writes: > Not all versions of windows have the console color functions, > while io.h might be needed for isatty (which can be found in > unistd.h or io.h). > > Signed-off-by: Martin Storsjö > --- > libavutil/log.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) LGT

[libav-devel] [PATCH 1/3] avutil: Include io.h with a separate condition from windows console functions

2012-11-30 Thread Martin Storsjö
Not all versions of windows have the console color functions, while io.h might be needed for isatty (which can be found in unistd.h or io.h). Signed-off-by: Martin Storsjö --- libavutil/log.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/log.c b/libavutil/lo