diff --git a/include/begin_code.h b/include/begin_code.h index 664354c30..925d37909 100644 --- a/include/begin_code.h +++ b/include/begin_code.h @@ -63,7 +63,7 @@ /* By default SDL uses the C calling convention */ #ifndef SDLCALL -#ifdef WIN32 +#if defined(WIN32) && !defined(__GNUC__) #define SDLCALL __cdecl #else #define SDLCALL