mirror of
https://github.com/yawut/SDL.git
synced 2026-06-01 17:26:25 -05:00
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:
parent
859fb5acc1
commit
aa6dff1be1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user