From cff87ab1e03d60870780ddc5a8133af159644f8c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 23 May 2020 16:43:32 +0200 Subject: [PATCH] (OSX) Buildfix for Discord --- deps/discord-rpc/src/discord_register_osx.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deps/discord-rpc/src/discord_register_osx.m b/deps/discord-rpc/src/discord_register_osx.m index 0973e15108..7a87044d07 100644 --- a/deps/discord-rpc/src/discord_register_osx.m +++ b/deps/discord-rpc/src/discord_register_osx.m @@ -3,6 +3,11 @@ #import +int get_process_id(void) +{ + return getpid(); +} + 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