[PATCH 5/7] linux: Use waitid on wait4 if __NR_wait4 is not defined

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Nov 21 17:48:00 GMT 2019



On 15/11/2019 15:27, Alistair Francis wrote:
>> +
>> +pid_t
>> +__wait4 (pid_t pid, int *stat_loc, int options, struct rusage *usage)
>> +{
>> +#if __NR_wait4
> 
> This needs to be #ifdef as __NR_wait4 doesn't exist on RV32.
> 
> Alistair

Acked.



More information about the Libc-alpha mailing list