Open sylveon opened 4 years ago
So we changed some underlying stuff in our latest version 3.1.0. Can I give you this and you can tell me if this issue still occurs?
https://dl-game-sdk.discordapp.net/3.1.0/discord_game_sdk.zip
Looks resolved to me, albeit I don't have a Linux or macOS platform to test with at the moment.
Describe the bug The GameSDK fails to build under macOS and Linux due to improperly written type definitions in
ffi.h
anddiscord_game_sdk.h
Steps to reproduce Steps to reproduce the behavior:
Expected behavior It builds
Implementation specifics
Additional context The issue is in lines 218-229 of
discord_game_sdk.h
andffi.h
. Those lines should be changed to the following (note the semicolons):Sidenote, but there's superfluous indentation on line 230.