(OSX) Buildfix for Discord

This commit is contained in:
twinaphex 2020-05-23 16:43:32 +02:00
parent 9b73f2a38c
commit cff87ab1e0

View File

@ -3,6 +3,11 @@
#import <AppKit/AppKit.h>
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