Skip to content
Snippets Groups Projects
Commit 50bfd547 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent d3f4fd76
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment