Fix compilation with g++

This commit is contained in:
David Capello 2020-06-11 17:15:21 -03:00
parent 6290f18742
commit 619903a2b3

View File

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