mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-07-24 01:05:22 +02: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue