mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-10-08 18:37:20 +02:00
log: fix compilation failure on mingw due to reference to undefined set_color256
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d3f4fd76d5
commit
50bfd547b9
@ -65,6 +65,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
|
|||||||
static int16_t background, attr_orig;
|
static int16_t background, attr_orig;
|
||||||
static HANDLE con;
|
static HANDLE con;
|
||||||
#define set_color(x) SetConsoleTextAttribute(con, background | color[x])
|
#define set_color(x) SetConsoleTextAttribute(con, background | color[x])
|
||||||
|
#define set_256color set_color
|
||||||
#define reset_color() SetConsoleTextAttribute(con, attr_orig)
|
#define reset_color() SetConsoleTextAttribute(con, attr_orig)
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user