Skip to content

Commit f2bd19c

Browse files
authored
Merge pull request ddnet#9595 from CherryEx/pr_discord_msvc_fix
Fix win32 msvc build with discord
2 parents fc45c80 + fe14bd0 commit f2bd19c

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)