curl-library
Re: Reducing windows compiler warnings
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Jul 2017 10:23:36 +0200 (CEST)
Date: Wed, 5 Jul 2017 10:23:36 +0200 (CEST)
On Wed, 5 Jul 2017, Sergei Nikulov wrote:
> Otherwise, if inet_pton found, we should increase API requirements (at least
> to _WIN32_WINNT_VISTA).
>
> BTW, you've merged changes with ENABLE_INET_PTON recently. Perhaps we should
> play with this switch to set correct define for _WIN32_WINNT.
Good idea. I've now pushed a version to the PR that attempts this.
Also, your comment made me realize the ENABLE_INET_PTON commit actually make
inet_pton() not get detected on non-windows platforms so I fixed that mistake
as well while at it.
Thanks!
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-07-05