Minor fix

This commit is contained in:
Amine B. Hassouna
2019-02-10 21:37:18 +01:00
parent 89c7ac272f
commit 39378a4c0d

View File

@@ -31,7 +31,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <SDL2/SDL.h>
#include <SDL.h>
// 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"))
{