mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +02:00
added a dummy implementation of GetLastOSError
git-svn-id: trunk@24652 -
This commit is contained in:
parent
b3c4450186
commit
24e2bd4364
@ -26,6 +26,7 @@ interface
|
||||
{$H+}
|
||||
|
||||
{$DEFINE HAS_SLEEP}
|
||||
{$DEFINE HAS_OSERROR}
|
||||
{ Include platform independent interface part }
|
||||
{$i sysutilh.inc}
|
||||
|
||||
@ -561,6 +562,11 @@ begin
|
||||
{ Result:=StrError(ErrorCode);}
|
||||
end;
|
||||
|
||||
function GetLastOSError: Integer;
|
||||
begin
|
||||
result:=-1;
|
||||
end;
|
||||
|
||||
{****************************************************************************
|
||||
OS utility functions
|
||||
****************************************************************************}
|
||||
|
Loading…
Reference in New Issue
Block a user