mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
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
|
||||
#if defined( POSIX )
|
||||
#if defined( __cdecl )
|
||||
#undef __cdecl
|
||||
#endif
|
||||
#define __cdecl
|
||||
#endif
|
||||
extern "C" typedef void (__cdecl *SteamAPIWarningMessageHook_t)(int, const char *);
|
||||
|
Loading…
Reference in New Issue
Block a user