diff --git a/rpcs3/rpcs3qt/_discord_utils.cpp b/rpcs3/rpcs3qt/_discord_utils.cpp index 9d26900cf3..eb61682aee 100644 --- a/rpcs3/rpcs3qt/_discord_utils.cpp +++ b/rpcs3/rpcs3qt/_discord_utils.cpp @@ -1,3 +1,4 @@ +#ifdef WITH_DISCORD_RPC #include "_discord_utils.h" #include "discord_rpc.h" #include "discord_register.h" @@ -31,3 +32,4 @@ namespace discord Discord_UpdatePresence(&discordPresence); } } +#endif