Merge "Fix comment to reflect the actual reality."
This commit is contained in:
commit
e07558fb80
@ -338,7 +338,7 @@ differ_by_repeat(const time_t t1, const time_t t0)
|
|||||||
{
|
{
|
||||||
if (TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS)
|
if (TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS)
|
||||||
return 0;
|
return 0;
|
||||||
#if defined(__LP64__) // 32-bit Android only has a signed 32-bit time_t; 64-bit Android is fixed.
|
#if defined(__LP64__) // 32-bit Android/glibc has a signed 32-bit time_t; 64-bit doesn't.
|
||||||
return t1 - t0 == SECSPERREPEAT;
|
return t1 - t0 == SECSPERREPEAT;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user