Added DWANT_IDN_PROTOTYPES define for MSVC too.
authorGuenter Knauf <lists@gknw.net>
Sun, 29 Jul 2012 13:14:40 +0000 (15:14 +0200)
committerGuenter Knauf <lists@gknw.net>
Sun, 29 Jul 2012 13:14:40 +0000 (15:14 +0200)
Discussion on the list: http://curl.haxx.se/mail/lib-2012-07/0271.html

winbuild/MakefileBuild.vc

index 5ec638f..800bebc 100644 (file)
@@ -172,7 +172,7 @@ USE_IDN   = true
 !ENDIF\r
 \r
 !IF "$(USE_IDN)"=="true"\r
-CFLAGS    = $(CFLAGS) /DUSE_WIN32_IDN\r
+CFLAGS    = $(CFLAGS) /DUSE_WIN32_IDN /DWANT_IDN_PROTOTYPES\r
 LFLAGS    = $(LFLAGS) Normaliz.lib\r
 !ENDIF\r
 \r