]> granicus.if.org Git - curl/commitdiff
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 5ec638f853783947ee8c001b6be350b405b335a7..800bebcce8be8e0a2296c9c3614523032c3c2b41 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