mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Add missing Discord guard after 27a94308a7
/usr/bin/ld: error: undefined symbol: Discord_Initialize >>> referenced by _discord_utils.cpp >>> rpcs3/CMakeFiles/rpcs3.dir/rpcs3qt/_discord_utils.cpp.o:(discord::initialize(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)) /usr/bin/ld: error: undefined symbol: Discord_Shutdown >>> referenced by _discord_utils.cpp >>> rpcs3/CMakeFiles/rpcs3.dir/rpcs3qt/_discord_utils.cpp.o:(discord::shutdown()) /usr/bin/ld: error: undefined symbol: Discord_UpdatePresence >>> referenced by _discord_utils.cpp >>> rpcs3/CMakeFiles/rpcs3.dir/rpcs3qt/_discord_utils.cpp.o:(discord::update_presence(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)) c++: error: linker command failed with exit code 1 (use -v to see invocation)
This commit is contained in:
parent
0ffaf6c1ce
commit
c776ff5020
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user