ICU-5320 Make sure that ICU doesn't use global new and delete in debug mode.

X-SVN-Rev: 20066
This commit is contained in:
George Rhoten 2006-08-15 06:48:39 +00:00
parent bb11dbdf53
commit 668db96d1d

View file

@ -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
/**