CMake check for 64-bit time_t
Certain platforms default or have defaulted to use a 32-bit time_t
, which will
overflow in year 2038.
To check if the platform uses a 64-bit time_t
, use code like this
Gist.
Certain platforms default or have defaulted to use a 32-bit time_t
, which will
overflow in year 2038.
To check if the platform uses a 64-bit time_t
, use code like this
Gist.