mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18:19 +00:00
Enable mac arm64 Discord RPC
This commit is contained in:
parent
66e8d1f726
commit
d89cd13e85
|
@ -1,10 +1,7 @@
|
|||
#include <base/system.h>
|
||||
#include <engine/discord.h>
|
||||
|
||||
// Hack for universal binary builds on macOS: Ignore arm64 until Discord
|
||||
// releases a native arm64 SDK for macOS.
|
||||
|
||||
#if defined(CONF_DISCORD) && !(defined(CONF_ARCH_ARM64) && defined(CONF_PLATFORM_MACOS))
|
||||
#if defined(CONF_DISCORD)
|
||||
#include <discord_game_sdk.h>
|
||||
|
||||
typedef enum EDiscordResult DISCORD_API (*FDiscordCreate)(DiscordVersion, struct DiscordCreateParams *, struct IDiscordCore **);
|
||||
|
|
Loading…
Reference in a new issue