cURL / Mailing Lists / curl-library / Single Mail

curl-library

time_t size question on Windows

From: sherman wilcox <wilcox.sherman_at_gmail.com>
Date: Thu, 6 Mar 2008 18:04:40 -0600

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?
Received on 2008-03-07