Skip to content

Commit

Permalink
Avoid gcc parse errors on Win32. This is fine in general because gcc …
Browse files Browse the repository at this point in the history
…uses

the cdecl calling convention by default.
  • Loading branch information
slouken committed Jan 8, 2005
1 parent 6ea73be commit a89fd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/begin_code.h
Expand Up @@ -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
Expand Down

0 comments on commit a89fd12

Please sign in to comment.