glibc/time
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
..
bits/types y2038: Add __USE_TIME_BITS64 support for struct timespec 2021-06-15 10:42:11 -03:00
sys y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
adjtime.c
alt_digit.c
asctime.c
bug-asctime_r.c
bug-asctime.c
bug-getdate1.c
bug-mktime1.c
bug-mktime4.c
clock_getcpuclockid.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock_getres.c Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
clock_gettime.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock_nanosleep.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock_settime.c Support for multiple versions in versioned_symbol, compat_symbol 2021-03-25 12:33:02 +01:00
clock.c
clocktest.c
ctime_r.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
ctime.c
datemsk
Depend
difftime.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
dysize.c
era.c
ftime.c
getdate.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
getitimer.c
gettimeofday.c
gmtime.c
lc-time-cleanup.c
localtime.c
Makefile Linux: Cleanups after librt move 2021-06-28 09:51:01 +02:00
mktime-internal.h
mktime.c
offtime.c
setitimer.c
settimeofday.c
settimezone.c
stime.c
strftime_l.c
strftime.c
strptime_l.c
strptime.c
test_time.c
time.c
time.h y2038: Add support for 64-bit time on legacy ABIs 2021-06-15 10:42:11 -03:00
timegm.c
timespec_get.c
timespec_getres.c Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
tst_wcsftime.c
tst-adjtime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-adjtime.c
tst-clock2-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock2.c
tst-clock_nanosleep-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock_nanosleep.c linux: Only use 64-bit syscall if required for clock_nanosleep 2021-06-22 12:09:52 -03:00
tst-clock_settime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock_settime.c tst: Add test for clock_settime 2021-03-08 22:41:34 +01:00
tst-clock-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-clock.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-cpuclock1-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-cpuclock1.c
tst-ctime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-ctime.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-difftime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-difftime.c tst: Provide test for difftime 2021-02-16 20:37:27 +01:00
tst-ftime_l.c
tst-ftime.c
tst-getdate.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-gmtime-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-gmtime.c time: Add gmtime/gmtime_r tests 2021-04-15 11:32:38 -03:00
tst-itimer-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-itimer.c time: Fix compile error in itimer test affecting hurd 2021-09-16 05:21:08 +09:00
tst-mktime2.c
tst-mktime3.c
tst-mktime4-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-mktime4.c tst: time: Provide Y2038 tests for mktime (tst-mktime4.c) 2021-02-16 20:41:45 +01:00
tst-mktime.c
tst-posixtz.c
tst-settimeofday-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-settimeofday.c tst: Add test for settimeofday 2021-03-08 22:41:41 +01:00
tst-strftime2.c
tst-strftime3.c
tst-strftime.c
tst-strptime2.c
tst-strptime3.c
tst-strptime-whitespace.c
tst-strptime.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-timegm-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timegm.c time: Add timegm/timelocal basic tests 2021-04-15 11:32:39 -03:00
tst-timespec_get-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timespec_get.c time: Add basic timespec_get tests 2021-04-15 11:32:40 -03:00
tst-timespec_getres-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-timespec_getres.c Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
tst-tzname.c
tst-y2039-time64.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tst-y2039.c y2038: Add test coverage 2021-06-15 10:42:11 -03:00
tzfile.c Use 64 bit time_t stat internally 2021-06-22 12:09:52 -03:00
tzset.c
Versions Add C2X timespec_getres 2021-05-17 20:55:21 +00:00
wcsftime_l.c
wcsftime.c