Iain Sandoe <[email protected]> writes:

> At present, clock-related tests fail everywhere on Darwin.  There
> are a few reasons and they mostly will affect other non-glibc targets too.
>
> 1. malloc.h is not portable, switch to using stdlib.h
> 2. sync the configure changes for clock functions recently applied to
>    libstdc++ (which was used as a basis for this).
> 3. provide a fallback to gettimofday when clock_gettime is not available
>    (also shamelessly copied from libstdc++)
> 4. Cosmetic; rename the various configure variables to match the library
>    instead of the copied libstdc++ ones.
>
> Tested on x86_64-linux, x86_64 (with clock_gettime) and i686 (without)
> darwin, OK for trunk?
>
> thanks
> Iain

all 4 patches LGTM, I've also bootstapped the patchset on ppc64le
successfully.  Many thanks!

regards,
Gaius

Reply via email to