diff --git a/sdk/steam/steam_api_common.h b/sdk/steam/steam_api_common.h index 102e59ac..53da20b4 100644 --- a/sdk/steam/steam_api_common.h +++ b/sdk/steam/steam_api_common.h @@ -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 *);