mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 18:39:55 +00:00
(OSX) Buildfix for Discord
This commit is contained in:
parent
9b73f2a38c
commit
cff87ab1e0
5
deps/discord-rpc/src/discord_register_osx.m
vendored
5
deps/discord-rpc/src/discord_register_osx.m
vendored
@ -3,6 +3,11 @@
|
|||||||
|
|
||||||
#import <AppKit/AppKit.h>
|
#import <AppKit/AppKit.h>
|
||||||
|
|
||||||
|
int get_process_id(void)
|
||||||
|
{
|
||||||
|
return getpid();
|
||||||
|
}
|
||||||
|
|
||||||
static void RegisterCommand(const char* applicationId, const char* command)
|
static void RegisterCommand(const char* applicationId, const char* command)
|
||||||
{
|
{
|
||||||
/* There does not appear to be a way to register arbitrary commands on OSX, so instead we'll save the command
|
/* There does not appear to be a way to register arbitrary commands on OSX, so instead we'll save the command
|
||||||
|
Loading…
x
Reference in New Issue
Block a user