freepascal rtl fix to work

git-svn-id: svn://kolibrios.org@7625 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
siemargl 2019-04-10 06:10:13 +00:00
parent 2a3f609db6
commit 24fde9ea89
4 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,4 @@
@echo off
set FPCDIR=D:\_bin\FPC222\fpcbuild-2.2.2\fpcsrc
fpcmake -Twin32
make

View File

@ -113,3 +113,10 @@ const
VK_F10 = 121;
VK_F11 = 122;
VK_F12 = 123;
/// siemargl add
const
ExtensionSeparator = '.';
AllowDirectorySeparators : set of char = ['/'];
AllowDriveSeparators : set of char = [];

View File

@ -19,6 +19,10 @@ const
MaxExitCode = 65535;
MaxPathLen = 512;
InitialStkLen = 20480; /// siemargl
UnusedHandle : THandle = -1;
StdInputHandle : THandle = 0;
StdOutputHandle: THandle = 0;

View File

@ -162,7 +162,7 @@ begin
ReleaseFileRecord(Handle);
end;
function FileTruncate(Handle: THandle; Size: Longint): Boolean;
function FileTruncate(Handle: THandle; Size: Int64): Boolean;
begin
Result := False;
end;