Disable Feral GameMode for Android - only available on Linux

This commit is contained in:
LibretroAdmin 2022-09-13 19:29:45 +02:00
parent ce8389d4a6
commit be044c09dd

View File

@ -30,7 +30,7 @@
#ifdef __linux__ #ifdef __linux__
#include <linux/version.h> #include <linux/version.h>
#if __STDC_VERSION__ >= 199901L #if __STDC_VERSION__ >= 199901L && !defined(ANDROID)
#include "feralgamemode/gamemode_client.h" #include "feralgamemode/gamemode_client.h"
#define FERAL_GAMEMODE #define FERAL_GAMEMODE
#endif #endif
@ -2004,7 +2004,6 @@ static bool frontend_unix_set_gamemode(bool on)
return true; return true;
#else #else
(void)on;
return false; return false;
#endif #endif
} }