From 39378a4c0d2e279b401972dcb2a77d4aa9f8d8ac Mon Sep 17 00:00:00 2001 From: "Amine B. Hassouna" Date: Sun, 10 Feb 2019 21:37:18 +0100 Subject: [PATCH] Minor fix --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 9b76e15..a3683ed 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,7 @@ #include #include -#include +#include // Define MAX and MIN macros #define MAX(X, Y) (((X) > (Y)) ? (X) : (Y)) @@ -55,7 +55,7 @@ int main(int argc, char* argv[]) return 0; } -#if linux && SDL_VERSION_ATLEAST(2, 0, 8) +#if defined linux && SDL_VERSION_ATLEAST(2, 0, 8) // Disable compositor bypass if(!SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0")) {