mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 11:29:20 +02:00
* Fix hidden parameter for fpsigprocmask for mips cpu (16 instead of 8)
git-svn-id: trunk@21723 -
This commit is contained in:
parent
a3bc5eaa3f
commit
0cea493014
@ -576,7 +576,14 @@ function FPSigProcMask(how:cint;nset : psigset;oset : psigset):cint; [public, al
|
||||
}
|
||||
|
||||
begin
|
||||
FPsigprocmask:=do_syscall(syscall_nr_rt_sigprocmask,TSysParam(how),TSysParam(nset),TSysParam(oset),TSysParam(8));
|
||||
FPsigprocmask:=do_syscall(syscall_nr_rt_sigprocmask,TSysParam(how),
|
||||
TSysParam(nset),TSysParam(oset),
|
||||
{$ifdef CPUMIPS}
|
||||
TSysParam(16)
|
||||
{$else not CPUMIPS}
|
||||
TSysParam(8)
|
||||
{$endif not CPUMIPS}
|
||||
);
|
||||
end;
|
||||
|
||||
Function FpNanoSleep(req : ptimespec;rem : ptimespec):cint; [public, alias : 'FPC_SYSC_NANOSLEEP'];
|
||||
|
Loading…
Reference in New Issue
Block a user