solve a spam of warnings on MinGW because of #define __cdecl, I know this is bad but the amount of spam is too much also this file is rarily changed

This commit is contained in:
otavepto 2024-05-28 22:17:33 +03:00
parent 773d8e44f5
commit bd81939cee

View File

@ -80,6 +80,9 @@ typedef char SteamErrMsg[ k_cchMaxSteamErrMsg ];
// function prototype
#if defined( POSIX )
#if defined( __cdecl )
#undef __cdecl
#endif
#define __cdecl
#endif
extern "C" typedef void (__cdecl *SteamAPIWarningMessageHook_t)(int, const char *);