From bc04cf3e3f98c69517f6740791b93261156b5203 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 27 Aug 2004 03:56:13 +0000 Subject: [PATCH] ICU-3855 Make sure that assertions are disabled in the library code in release mode. The project files work the same way. X-SVN-Rev: 16195 --- icu4c/source/config/mh-cygwin-msvc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/icu4c/source/config/mh-cygwin-msvc b/icu4c/source/config/mh-cygwin-msvc index 5fb882c5e9..20d7860785 100644 --- a/icu4c/source/config/mh-cygwin-msvc +++ b/icu4c/source/config/mh-cygwin-msvc @@ -38,6 +38,11 @@ THREADSCFLAGS += /MD THREADSCXXFLAGS += /MD endif +ifeq ($(ENABLE_RELEASE),1) +# Make sure that assertions are disabled +CPPFLAGS+=-DU_RELEASE=1 +endif + # /GF pools strings and places them into read-only memory # /GX enables exception handling CFLAGS += /GF