mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix CXX_BUILD
This commit is contained in:
parent
6fa4350ade
commit
e1e6f2db51
6
deps/discord-rpc/src/discord_rpc.cpp
vendored
6
deps/discord-rpc/src/discord_rpc.cpp
vendored
@ -1,3 +1,4 @@
|
||||
#include <retro_common_api.h>
|
||||
#include "discord_rpc.h"
|
||||
|
||||
#include "backoff.h"
|
||||
@ -14,15 +15,16 @@
|
||||
#include <thread>
|
||||
#endif
|
||||
|
||||
|
||||
/* Forward declarations */
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && !defined(CXX_BUILD)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void Discord_Register(const char *a, const char *b);
|
||||
void Discord_RegisterSteamGame(const char *a, const char *b);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && !defined(CXX_BUILD)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -13,6 +13,8 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <retro_common_api.h>
|
||||
|
||||
#include <file/file_path.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <retro_timers.h>
|
||||
@ -89,14 +91,13 @@ static discord_state_t discord_st;
|
||||
#define CDN_URL "https://cdn.discordapp.com/avatars"
|
||||
|
||||
/* Forward declarations */
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && !defined(CXX_BUILD)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void Discord_Register(const char *a, const char *b);
|
||||
void Discord_RegisterSteamGame(const char *a, const char *b);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && !defined(CXX_BUILD)
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user