* use __get_errno_ptr to implement GetLastOSError

git-svn-id: trunk@7584 -
This commit is contained in:
pierre 2007-06-05 09:36:05 +00:00
parent 2148281785
commit e3164530b8

View File

@ -26,6 +26,7 @@ uses DOS;
{$I nwsys.inc}
{$I errno.inc}
{$DEFINE HAS_SLEEP}
{$DEFINE HAS_OSERROR}
TYPE
TNetwareFindData =
@ -577,6 +578,13 @@ begin
_delay (milliseconds);
end;
Function GetLastOSError : Integer;
begin
Result:=Integer(__get_errno_ptr^);
end;
{****************************************************************************
Initialization code