[FFmpeg-devel] [PATCH] add colours to warnings and errors
Diogo Franco
diogomfranco
Sun May 2 15:07:59 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/02/2010 09:59 AM, M?ns Rullg?rd wrote:
>> Running non-cygwin programs inside cygwin terminal emulators (like
>> cygputty, mintty or xterm) will disable colors anyway because isatty
>> will return false.
>
> I was talking about running cygwin programs in cygwin xterm. _WIN32
> is set on cygwin iirc, so this patch would disable any kind of
> colouring there.
>
That's why checking whether you're building a cygwin program or not
would work. windows && !cygwin ? winapi() : ansi().
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkvdeS8ACgkQvPrHMFeSjrLrqgCgpQmSQ89PnkmI3y7GRepdYmkH
Y70An1SBnYMF70G6T1awaJWHJTZa7nsR
=rx6l
-----END PGP SIGNATURE-----
More information about the ffmpeg-devel
mailing list