Martin Storsjö <[email protected]> writes: > From: "Ronald S. Bultje" <[email protected]> > > This is required for isatty, which exists on MSVC and is found by > configure, but is provided by io.h instead of unistd.h. > --- > > Sorry for the earlier false comment about log.c not using isatty > on windows, I only saw the first occurrance of isatty then. > > libavutil/log.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavutil/log.c b/libavutil/log.c > index e2773d4..9f1d59a 100644 > --- a/libavutil/log.c > +++ b/libavutil/log.c > @@ -39,6 +39,7 @@ static int flags; > > #if defined(_WIN32) && !defined(__MINGW32CE__) > #include <windows.h> > +#include <io.h> > static const uint8_t color[] = { 12, 12, 12, 14, 7, 10, 11 }; > static int16_t background, attr_orig; > static HANDLE con; > --
Seems OK. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
