Return -1 for fpIOPL and set errno to ESysENoSys for non-linux systems

git-svn-id: trunk@20773 -
This commit is contained in:
pierre 2012-04-09 21:55:18 +00:00
parent 55665c6713
commit ae83b5ce92

View File

@ -519,6 +519,9 @@ Function fpIoPL(Level : cint) : cint;
begin
{$ifdef Linux}
fpIOPL:=do_Syscall(Syscall_nr_iopl,TSysParam(Level));
{$else}
fpIOPL:=-1;
FpSetErrNo(ESysENoSys);
{$endif}
end;