# HG changeset patch # User Sam Lantinga # Date 1105225981 0 # Node ID 3652d111416cceed6cbc416a4b55ce953cb78773 # Parent cca9aeb2934fbd3cc1c62faad5d09eec2ff869cf Avoid gcc parse errors on Win32. This is fine in general because gcc uses the cdecl calling convention by default. diff -r cca9aeb2934f -r 3652d111416c include/begin_code.h --- a/include/begin_code.h Tue Jan 04 19:06:23 2005 +0000 +++ b/include/begin_code.h Sat Jan 08 23:13:01 2005 +0000 @@ -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