From 668db96d1d0ba66b78e2b9114256f2a6d3a2bf85 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 15 Aug 2006 06:48:39 +0000 Subject: [PATCH] ICU-5320 Make sure that ICU doesn't use global new and delete in debug mode. X-SVN-Rev: 20066 --- icu4c/source/common/unicode/utypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/unicode/utypes.h b/icu4c/source/common/unicode/utypes.h index cafb7ef32c3..7aceb27f982 100644 --- a/icu4c/source/common/unicode/utypes.h +++ b/icu4c/source/common/unicode/utypes.h @@ -488,7 +488,7 @@ typedef void* UClassID; * some Linux/Unix compilers have problems with defining global new/delete. * On Windows, WIN32 is defined, and it is _MSC_VER>=1200 for MSVC 6.0 and higher. */ -#if defined(XP_CPLUSPLUS) && defined(U_WINDOWS) && (_MSC_VER>=1200) && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_USTDIO_IMPLEMENTATION)) +#if defined(XP_CPLUSPLUS) && defined(U_WINDOWS) && (_MSC_VER>=1200) && U_DEBUG && (defined(U_COMMON_IMPLEMENTATION) || defined(U_I18N_IMPLEMENTATION) || defined(U_LAYOUT_IMPLEMENTATION) || defined(U_USTDIO_IMPLEMENTATION)) #ifndef U_HIDE_INTERNAL_API /**