include/begin_code.h
changeset 1025 3652d111416c
parent 1019 e3b3130f3af8
child 1190 173c063d4f55
--- 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