diff --git a/frontend/drivers/platform_unix.c b/frontend/drivers/platform_unix.c index d807842af9..83ee972464 100644 --- a/frontend/drivers/platform_unix.c +++ b/frontend/drivers/platform_unix.c @@ -30,7 +30,7 @@ #ifdef __linux__ #include -#if __STDC_VERSION__ >= 199901L +#if __STDC_VERSION__ >= 199901L && !defined(ANDROID) #include "feralgamemode/gamemode_client.h" #define FERAL_GAMEMODE #endif @@ -2004,7 +2004,6 @@ static bool frontend_unix_set_gamemode(bool on) return true; #else - (void)on; return false; #endif }