You've already forked lazarus-ccr
Fix Delphi <= 2007 compilation (Thanks Juha)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3858 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -11,10 +11,13 @@
|
|||||||
DWORD = LongWord;
|
DWORD = LongWord;
|
||||||
PByteArray = ^ByteArray;
|
PByteArray = ^ByteArray;
|
||||||
ByteArray = array[0..$effffff] of Byte;
|
ByteArray = array[0..$effffff] of Byte;
|
||||||
{$IF Declared(NativeUInt)}
|
{$IFDEF CompilerVersion}
|
||||||
|
{$IF ( CompilerVersion > 19.0 )} //Delphi 2007=18.5; Delphi 2009 = 20
|
||||||
PtrInt = NativeInt;
|
PtrInt = NativeInt;
|
||||||
PtrUInt = NativeUInt;
|
PtrUInt = NativeUInt;
|
||||||
{$ELSE} // old delphi
|
{$IFEND}
|
||||||
|
{$ENDIF CompilerVersion}
|
||||||
|
{$IF Not Declared(PtrInt) }
|
||||||
PtrInt = Integer;
|
PtrInt = Integer;
|
||||||
PtrUInt = Cardinal;
|
PtrUInt = Cardinal;
|
||||||
{$IFEND}
|
{$IFEND}
|
||||||
|
Reference in New Issue
Block a user