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:
parent
773d8e44f5
commit
bd81939cee
@ -80,6 +80,9 @@ typedef char SteamErrMsg[ k_cchMaxSteamErrMsg ];
|
|||||||
|
|
||||||
// function prototype
|
// function prototype
|
||||||
#if defined( POSIX )
|
#if defined( POSIX )
|
||||||
|
#if defined( __cdecl )
|
||||||
|
#undef __cdecl
|
||||||
|
#endif
|
||||||
#define __cdecl
|
#define __cdecl
|
||||||
#endif
|
#endif
|
||||||
extern "C" typedef void (__cdecl *SteamAPIWarningMessageHook_t)(int, const char *);
|
extern "C" typedef void (__cdecl *SteamAPIWarningMessageHook_t)(int, const char *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user