|
From: | Gisle Vanem |
Subject: | Re: Infinite recusion in test-timespec_getres.exe |
Date: | Fri, 31 Dec 2021 13:56:32 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Paul Eggert wrote:
On 12/30/21 07:48, Gisle Vanem wrote:-#elif defined HAVE_TIMESPEC_GETRES +#elif defined HAVE_TIMESPEC_GETRES && HAVE_TIMESPEC_GETRESThis change has an effect only if there's the equivalent of '#define HAVE_TIMESPEC_GETRES 0' somewhere.
Since 'time.in.h' says: # if ! @HAVE_TIMESPEC_GETRES@ _GL_FUNCDECL_SYS (timespec_getres, int, (struct timespec *ts, int base) .. it makes sense to me this should be replaced with a '0' or '1'. Or you mean it should be replaced with defined HAVE_TIMESPEC_GETRES ? But I fail to understand how the value of 'HAVE_TIMESPEC_GETRES' is used by m4 etc. -- --gv
[Prev in Thread] | Current Thread | [Next in Thread] |