mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 14:29:34 +02:00
* fix breakage of the OS/2 RTL
git-svn-id: trunk@25190 -
This commit is contained in:
parent
614afca755
commit
c8221c4196
rtl/os2
@ -1138,7 +1138,7 @@ begin
|
||||
IsConsole := ApplicationType <> 3;
|
||||
|
||||
{Query maximum path length (QSV_MAX_PATH_LEN = 1)}
|
||||
if DosQuerySysInfo (1, 1, @DW, SizeOf (DW)) = 0 then
|
||||
if DosQuerySysInfo (1, 1, DW, SizeOf (DW)) = 0 then
|
||||
RealMaxPathLen := DW;
|
||||
|
||||
ExitProc := nil;
|
||||
|
@ -170,10 +170,6 @@ function DosQuerySysState (EntityList, EntityLevel, PID, TID: cardinal;
|
||||
var Buffer; BufLen: cardinal): cardinal; cdecl;
|
||||
external 'DOSCALLS' index 368;
|
||||
|
||||
function DosQuerySysInfo (First, Last: cardinal; var Buf; BufSize: cardinal):
|
||||
cardinal; cdecl;
|
||||
external 'DOSCALLS' index 348;
|
||||
|
||||
|
||||
|
||||
{*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user