# HG changeset patch # User Xeli # Date 1316018596 -7200 # Node ID 2a2cce052b4d534b4100e833f9d0a792ffd95438 # Parent 2e5835130d9ad8c17e21f4f3423dc2dcf7d19a81 Fix to enable compiling for something else than arm, the compiler for x64_86 didn't recognize Int32 etc.. diff -r 2e5835130d9a -r 2a2cce052b4d hedgewars/SDLh.pas --- a/hedgewars/SDLh.pas Fri Sep 09 05:15:45 2011 +0200 +++ b/hedgewars/SDLh.pas Wed Sep 14 18:43:16 2011 +0200 @@ -572,18 +572,18 @@ {$ENDIF} end; - SDL_TouchID = Int32; - SDL_FingerID = Int32; + SDL_TouchID = LongInt; + SDL_FingerID = LongInt; TSDL_TouchFingerEvent = record - type_: UInt32; - windowId: UInt32; + type_: LongWord; + windowId: LongWord; touchId: SDL_TouchID; fingerId: SDL_FingerID; - state, padding1, padding2, padding3: UInt8; - x,y: UInt16; - dx,dy: Int16; - pressure: UInt16; + state, padding1, padding2, padding3: Byte; + x,y: Word; + dx,dy: ShortInt; + pressure: Word; end; //TODO: implement SDL_TouchButtonEvent, SDL_MultiGestureEvent, SDL_DollarGestureEvent