sherman wilcox
2008-03-07 00:04:40 UTC
I have a question related to the size of time_t when using Microsoft
compilers and libraries. With Visual Studio 2005 and above time_t is a
64bit quantity. There's a pre-processor that can be added
(_USE_32BIT_TIME_T) to make time_t become a 32bit quantity if needed.
It appears that libcurl defaults to using the 64bit time_t sizes. I
examined the config header for Windows as well as the libcurl .vcproj
file and saw no mention of _USE_32BIT_TIME_T.
I assume libcurl (by default) is using a 64bit time_t. Correct?
compilers and libraries. With Visual Studio 2005 and above time_t is a
64bit quantity. There's a pre-processor that can be added
(_USE_32BIT_TIME_T) to make time_t become a 32bit quantity if needed.
It appears that libcurl defaults to using the 64bit time_t sizes. I
examined the config header for Windows as well as the libcurl .vcproj
file and saw no mention of _USE_32BIT_TIME_T.
I assume libcurl (by default) is using a 64bit time_t. Correct?