From 1d7fe8390f01295e725be3b9e6840e4828da07e2 Mon Sep 17 00:00:00 2001 From: apique Date: Mon, 9 Sep 2019 17:06:15 +0200 Subject: winbuild: add ENABLE_UNICODE option Fixes https://github.com/curl/curl/issues/4308 Closes https://github.com/curl/curl/pull/4309 --- winbuild/MakefileBuild.vc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'winbuild/MakefileBuild.vc') diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc index 5cc16501b..8267250c2 100644 --- a/winbuild/MakefileBuild.vc +++ b/winbuild/MakefileBuild.vc @@ -485,6 +485,10 @@ LFLAGS = $(LFLAGS) $(LFLAGS_PDB) CFLAGS = $(CFLAGS) /DCURL_WITH_MULTI_SSL !ENDIF +!IF "$(USE_UNICODE)"=="true" +CFLAGS = $(CFLAGS) /DUNICODE /D_UNICODE +!ENDIF + LIB_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-lib CURL_DIROBJ = ..\builds\$(CONFIG_NAME_LIB)-obj-curl -- cgit v1.2.3