On Mon, 21 Jul 2014, Glen A Johnson Jr. wrote:
The project was imported with cmake so HAVE_CONFIG_H was defined at line 39
of curl_setup.h therefore curl_config.h (output from CMAKE) is used and on
line 941 of curl_config.h ssize_t is defined as long.
Urgh. Another bug in the cmake setup[1]. See the warning it outputs.
Although my reading of CMakeLists.txt line 415 says it attempts to first make
sure size_t has the same size as long before it makes ssize_t equal long...
Doesn't that work?
[1] = https://github.com/bagder/curl/blob/master/docs/ROADMAP.md#remove
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html