--- a/hedgewars/SDLh.pas Fri Nov 06 18:24:55 2009 +0000 +++ b/hedgewars/SDLh.pas Fri Nov 06 18:59:43 2009 +0000 @@ -37,6 +37,8 @@ {$IFDEF FPC} {$PACKRECORDS C} +{$ELSE} + {$DEFINE cdecl attribute(cdecl)} {$ENDIF} {$IFDEF DARWIN}