* use libc unit GetLastError to implement GetLastOSError

git-svn-id: trunk@7582 -
This commit is contained in:
pierre 2007-06-05 09:22:40 +00:00
parent 6774847103
commit f932ccbc59

View File

@ -36,6 +36,7 @@ TYPE
END;
{$DEFINE HAS_SLEEP}
{$DEFINE HAS_OSERROR}
{ Include platform independent interface part }
{$i sysutilh.inc}
@ -632,6 +633,12 @@ begin
result := ExecuteProcess (Path, params);
end;
Function GetLastOSError : Integer;
begin
Result:=Integer(GetLastError);
end;
{******************************************************************************
--- Exec ---