Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve build error on systems that have a 32-bit time_t (#104368)
We now require a 64-bit time_t, even on ARM32. This adds a static_assert to ensure time_t is 64-bit, and if not, produce a compile time error. This also uses a constant instead of `(time_t)INT_MAX + 1` since, if that overflows, it is UB because time_t is a signed type. Contributes to #104333
- Loading branch information