| Index: third_party/icu/public/common/unicode/utypes.h
|
| ===================================================================
|
| --- third_party/icu/public/common/unicode/utypes.h (revision 74230)
|
| +++ third_party/icu/public/common/unicode/utypes.h (working copy)
|
| @@ -861,5 +861,12 @@
|
| U_STABLE const char * U_EXPORT2
|
| u_errorName(UErrorCode code);
|
|
|
| +// The following two macros are used in place of dynamic_cast and typeid
|
| +// to build ICU 4.6 without RTTI enabled. This build won't run properly,
|
| +// but will only be used as a reference build to measure the size impact of
|
| +// enabling RTTI.
|
| +#define CR_DYNAMIC_CAST static_cast
|
| +#define CR_TYPEID(o) ((o).getDynamicClassID())
|
|
|
| +
|
| #endif /* _UTYPES */
|
|
|