Compiling for x64 on VS2005 Beta2
Date: Sat, 23 Apr 2005 20:21:50 -0700
I'm happy to say libcurl works great in x64, but compiling took a bit more
work than should be needed.
First you need to define _CRT_SECURE_NO_DEPRECATE and
_CRT_NONSTDC_NO_DEPRECATE for the whole project, as VS2005 deprecates
functions that can cause buffer overflows.
Next you need to define WIN32, as only WIN64 is set. However, _WIN32 is
always defined- so this would be the correct one to use.
There are also a lot of size_t to int and a few __int64 to int warnings that
should be casted, but that's just a compiler switch. I can attach a patch
against CVS later on that corrects these if you want.
-- Cory Nelson http://www.int64.orgReceived on 2005-04-24