Commit 50bfd547 authored by Michael Niedermayer's avatar Michael Niedermayer

log: fix compilation failure on mingw due to reference to undefined set_color256

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d3f4fd76
......@@ -65,6 +65,7 @@ static const uint8_t color[16 + AV_CLASS_CATEGORY_NB] = {
static int16_t background, attr_orig;
static HANDLE con;
#define set_color(x) SetConsoleTextAttribute(con, background | color[x])
#define set_256color set_color
#define reset_color() SetConsoleTextAttribute(con, attr_orig)
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment