How to use the mktime64() in Linux with 32-bit time library to avoid the year 2038 issue?
We have tried using the macro _Time64 but failed as compiler still throws undefined mktime64() error:
typedef long long _Time64_t;
_Time64_t _Time64(_Time64_t *pt);
struct tm *_Localtime64(_Time64_t *pt);
_Time64_t _mktime64(_Time64_t pt);
main.c:(.text+0x68): undefined reference to `_mktime64'
Could you please help me how to use the mktime64, time64 and localtime64 function using 32-bit library?
These functions seem to be Microsoft only