mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 23:29:13 +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+}
|
{$H+}
|
||||||
|
|
||||||
{$DEFINE HAS_SLEEP}
|
{$DEFINE HAS_SLEEP}
|
||||||
|
{$DEFINE HAS_OSERROR}
|
||||||
{ Include platform independent interface part }
|
{ Include platform independent interface part }
|
||||||
{$i sysutilh.inc}
|
{$i sysutilh.inc}
|
||||||
|
|
||||||
@ -561,6 +562,11 @@ begin
|
|||||||
{ Result:=StrError(ErrorCode);}
|
{ Result:=StrError(ErrorCode);}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function GetLastOSError: Integer;
|
||||||
|
begin
|
||||||
|
result:=-1;
|
||||||
|
end;
|
||||||
|
|
||||||
{****************************************************************************
|
{****************************************************************************
|
||||||
OS utility functions
|
OS utility functions
|
||||||
****************************************************************************}
|
****************************************************************************}
|
||||||
|
Loading…
Reference in New Issue
Block a user