From ebf927d3d4394159e480fec2042a0456df8dd0f4 Mon Sep 17 00:00:00 2001 From: ebraminio Date: Mon, 9 Jan 2017 13:12:09 +0330 Subject: [PATCH] Make UCDN default enabled (fixes #389) (#391) --- win32/config-msvc.mak | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/win32/config-msvc.mak b/win32/config-msvc.mak index ecbbe92fd..4cffaeacc 100644 --- a/win32/config-msvc.mak +++ b/win32/config-msvc.mak @@ -184,9 +184,10 @@ HB_CFLAGS = $(HB_CFLAGS) /DU_HAVE_INT8_T HB_SOURCES = $(HB_SOURCES) $(HB_ICU_sources) HB_HEADERS = $(HB_HEADERS) $(HB_ICU_headers) HB_DEP_LIBS = $(HB_DEP_LIBS) $(HB_ICU_DEP_LIBS) -!else -# If there is no GLib support, use the built-in UCDN -# and define some of the macros in GLib's msvc_recommended_pragmas.h +!endif + +!if "$(UCDN)" != "0" +# Define some of the macros in GLib's msvc_recommended_pragmas.h # to reduce some unneeded build-time warnings HB_DEFINES = $(HB_DEFINES) /DHAVE_UCDN=1 HB_CFLAGS = \