lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

thank you - but this you have to do only if time_t is defined signed
int. You have to look how in time.h the typedef time_t looks like.

It’s a signed int in 32-bit Linux.

in your C compiler you have already some sort of 64bit math included
GCC, LLVM/Clang, and even TCC support 64-bit ints on 32-bit systems.

-- Sam