From 44bea480b208bfd03b3e6eb3905fe454a0fe68d5 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 24 May 2019 00:06:53 +0100 Subject: [PATCH] Fix build on gcc < 8 Fixes #175 Signed-off-by: Yuxuan Shui --- src/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win.c b/src/win.c index 712a052..c4c8162 100644 --- a/src/win.c +++ b/src/win.c @@ -43,7 +43,7 @@ #include "win.h" -static const opacity_t OPAQUE = 0xffffffff; +#define OPAQUE (0xffffffff) static const int WIN_GET_LEADER_MAX_RECURSION = 20; static const int ROUNDED_PIXELS = 1; static const double ROUNDED_PERCENT = 0.05;