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,13 +11,16 @@
|
||||
DWORD = LongWord;
|
||||
PByteArray = ^ByteArray;
|
||||
ByteArray = array[0..$effffff] of Byte;
|
||||
{$IF Declared(NativeUInt)}
|
||||
{$IFDEF CompilerVersion}
|
||||
{$IF ( CompilerVersion > 19.0 )} //Delphi 2007=18.5; Delphi 2009 = 20
|
||||
PtrInt = NativeInt;
|
||||
PtrUInt = NativeUInt;
|
||||
{$ELSE} // old delphi
|
||||
{$IFEND}
|
||||
{$ENDIF CompilerVersion}
|
||||
{$IF Not Declared(PtrInt) }
|
||||
PtrInt = Integer;
|
||||
PtrUInt = Cardinal;
|
||||
{$IFEND}
|
||||
{$IFEND}
|
||||
SizeInt = PtrInt;
|
||||
UnicodeChar = WideChar;
|
||||
{$ENDIF DELPHI}
|
||||
|
Reference in New Issue
Block a user