diff --git a/Source/Core/UICommon/DiscordPresence.cpp b/Source/Core/UICommon/DiscordPresence.cpp index 8d74eda1e5..d9b4c730b9 100644 --- a/Source/Core/UICommon/DiscordPresence.cpp +++ b/Source/Core/UICommon/DiscordPresence.cpp @@ -25,9 +25,9 @@ namespace Discord { +#ifdef USE_DISCORD_PRESENCE static bool s_using_custom_client = false; -#ifdef USE_DISCORD_PRESENCE namespace { Handler* event_handler = nullptr;