On Sat, 10 Jan 2015, Alexander Pyhalov wrote:
However, in curl_setup.h we read
#ifndef GETHOSTNAME_TYPE_ARG2
# ifdef USE_WINSOCK
# define GETHOSTNAME_TYPE_ARG2 int
# else
# define GETHOSTNAME_TYPE_ARG2 size_t
# endif
#endif
Yeah, but that logic should only be used if curl_config.h doesn't have the
define set, which from what I gather it should in your case. curl_config.h is
generated by configure and it should check what arguments your gethostname()
wants. Does it not work correctly?
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html