cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compiling under windows with USE_IDN=yes, patch needed

From: Jan Ehrhardt <phpdev_at_ehrhardt.nl>
Date: Sat, 28 Jul 2012 10:44:26 +0200

Guenter in gmane.comp.web.curl.library (Sat, 28 Jul 2012 06:24:57
+0200):
>Am 28.07.2012 06:13, schrieb Guenter:
>> it might happen that at some point MinGW and OpenWatcom add these
>> protos to their APIs which would then produce a redefine ..., sigh
>> ok, for now your suggestion seems to be the simplest way to fix ...
>
>damn, it happened already at least for MinGW64 which has them in
>winnls.h ....

I tried adding the Mingw64 protos to idn_win32.c as well (before and
after the #ifdef WANT_IDN_PROTOTYPES lines). No complaints by MS' cl.exe
about a redefinition...

Jan

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-28