Avoid gcc parse errors on Win32. This is fine in general because gcc uses

the cdecl calling convention by default.
This commit is contained in:
Sam Lantinga 2005-01-08 23:13:01 +00:00
parent 859fb5acc1
commit aa6dff1be1

View File

@ -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