curl-library
libcurl build on windows x64
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 May 2006 07:42:58 +0200 (CEST)
Date: Mon, 8 May 2006 07:42:58 +0200 (CEST)
Howdy
We got this "trick" suggested by Bastiaan Stougie(*) and I wanted to know how
we would deal with it the best way:
A fix to get libcurl working on Windows x64: in config-win32.h, change:
#define ssize_t int
to:
#define ssize_t SSIZE_T
or you will get stack corruption (int is 32-bit on x64, and ssize_t
pointers are cast to size_t pointers in the curl code, where size_t is
64-bit on x64).
(*) = http://curl.haxx.se/feedback/display.cgi?id=11467622585020&support=yes
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-05-08