mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Linux: Define TIMER_T_WAS_INT_COMPAT in kernel-posix-timers.h
This is almost equivalent to __WORDSIZE == 64 && OTHER_SHLIB_COMPAT (librt, GLIBC_2_1, GLIBC_2_3_3), except that this expression is true for mips64/n64 targets as well, even though those did not undergo the timer_t transition. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -103,3 +103,7 @@ timerid_to_kernel_timer (timer_t timerid)
|
||||
else
|
||||
return (kernel_timer_t) ((uintptr_t) timerid);
|
||||
}
|
||||
|
||||
/* New targets use int instead of timer_t. The difference only
|
||||
matters on 64-bit targets. */
|
||||
#include <timer_t_was_int_compat.h>
|
||||
|
Reference in New Issue
Block a user