Stafford Horne 5604830dea time: Fix compile error in itimer test affecting hurd
The recent change to use __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 to avoid
doing 64-bit checks on some platforms broke the test for hurd where
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 is not defined.  With error:

    tst-itimer.c: In function 'do_test':
    tst-itimer.c:103:11: error: '__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64' undeclared (first use in this function)
      103 |       if (__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64)
	  |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    tst-itimer.c:103:11: note: each undeclared identifier is reported only once for each function it appears in

Define a support helper to detect when setitimer and getitimer support
64-bit time_t.

Fixes commit 6e8a0aac2f ("time: Fix overflow itimer tests on 32-bit
systems").

Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: Joseph Myers <joseph@codesourcery.com>
2021-09-16 05:21:08 +09:00
..
2021-05-17 20:55:21 +00:00
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-09-03 22:06:44 +05:30
2021-06-28 09:51:01 +02:00
2021-05-17 20:55:21 +00:00
2019-08-21 08:26:36 -04:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-09-03 22:06:44 +05:30
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-02-16 20:37:27 +01:00
2021-09-03 22:06:44 +05:30
2021-06-15 10:42:11 -03:00
2021-04-15 11:32:38 -03:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-09-03 22:06:44 +05:30
2021-06-15 10:42:11 -03:00
2021-05-17 20:55:21 +00:00
2021-06-15 10:42:11 -03:00
2021-06-15 10:42:11 -03:00
2021-06-22 12:09:52 -03:00
2021-05-17 20:55:21 +00:00