Skip to content

Commit

Permalink
Enable mac arm64 Discord RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
M0REKZ committed Sep 19, 2024
1 parent 66e8d1f commit d89cd13
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/engine/client/discord.cpp
Original file line number Diff line number Diff line change
@@ -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 **);
Expand Down

0 comments on commit d89cd13

Please sign in to comment.