Skip to content

Commit fe14bd0

Browse files
committed
Fix calling convention error
Happens only on win32 builds using msvc
1 parent 82d8112 commit fe14bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/client/discord.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#if defined(CONF_DISCORD)
55
#include <discord_game_sdk.h>
66

7-
typedef enum EDiscordResult DISCORD_API (*FDiscordCreate)(DiscordVersion, struct DiscordCreateParams *, struct IDiscordCore **);
7+
typedef enum EDiscordResult(DISCORD_API *FDiscordCreate)(DiscordVersion, struct DiscordCreateParams *, struct IDiscordCore **);
88

99
#if defined(CONF_DISCORD_DYNAMIC)
1010
#include <dlfcn.h>

0 commit comments

Comments
 (0)