You've already forked lazarus-ccr
Redirect "PtrInt" to "NativeInt" on new Delphis
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3717 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -7,13 +7,17 @@
|
|||||||
{$ENDIF CompilerVersion}
|
{$ENDIF CompilerVersion}
|
||||||
{$IF Not Declared(QWord) }
|
{$IF Not Declared(QWord) }
|
||||||
QWord = type Int64;
|
QWord = type Int64;
|
||||||
{$IFEND
|
{$IFEND}
|
||||||
}
|
|
||||||
DWORD = LongWord;
|
DWORD = LongWord;
|
||||||
PtrInt = Integer;
|
|
||||||
PByteArray = ^ByteArray;
|
PByteArray = ^ByteArray;
|
||||||
ByteArray = array[0..$effffff] of Byte;
|
ByteArray = array[0..$effffff] of Byte;
|
||||||
|
{$IF Declared(NativeUInt)}
|
||||||
|
PtrInt = NativeInt;
|
||||||
|
PtrUInt = NativeUInt;
|
||||||
|
{$ELSE} // old delphi
|
||||||
|
PtrInt = Integer;
|
||||||
PtrUInt = Cardinal;
|
PtrUInt = Cardinal;
|
||||||
SizeInt = Longint;
|
{$IFEND}
|
||||||
|
SizeInt = PtrInt;
|
||||||
UnicodeChar = WideChar;
|
UnicodeChar = WideChar;
|
||||||
{$ENDIF DELPHI}
|
{$ENDIF DELPHI}
|
||||||
|
Reference in New Issue
Block a user