Re: [PATCH] lib/pthread-cond.c: use tv.nsec instead of tv.usec

2021-04-05 Thread Bruno Haible
Fabrice Fontaine wrote: > Use tv.nsec instead of tv.usec to avoid the following build failure: > > lib/pthread-cond.c: In function 'pthread_cond_wait': > lib/pthread-cond.c:121:16: error: 'struct timespec' has no member named > 'tv_usec'; did you mean 'tv_sec'? > 121 | duration.tv_usec =

[PATCH] lib/pthread-cond.c: use tv.nsec instead of tv.usec

2021-04-05 Thread Fabrice Fontaine
Use tv.nsec instead of tv.usec to avoid the following build failure: lib/pthread-cond.c: In function 'pthread_cond_wait': lib/pthread-cond.c:121:16: error: 'struct timespec' has no member named 'tv_usec'; did you mean 'tv_sec'? 121 | duration.tv_usec = 0; |^~~