Fix compilation with g++

master
David Capello 2020-06-11 17:15:21 -03:00
parent 6290f18742
commit 619903a2b3
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ struct CallbackMsg_t {
int cubParam;
};
#ifdef __GNUC__
#define __cdecl
#endif
// Steam main API
typedef bool (__cdecl *SteamAPI_Init_Func)();
typedef void (__cdecl *SteamAPI_Shutdown_Func)();