diff options
author | Craig Cornelius <ccornelius@google.com> | 2013-03-25 14:20:46 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-25 14:41:05 -0700 |
commit | 72bf11cf6ae9d6b688bacfd5ef5d4d39eba11cff (patch) | |
tree | 9cf2f0651a822051b3703c771c83449d6e258b27 | |
parent | c8bccd8bc2658152db26b8ab410c3428604d2225 (diff) | |
download | icu4c-72bf11cf6ae9d6b688bacfd5ef5d4d39eba11cff.tar.gz |
Patch ICU to avoid extra stat() calls for resource files.
This will be proposed for public ICU.
Bug: 3443476
Change-Id: I385345c3f3ae6f51a845c305d33c8fb901fd0893
-rw-r--r-- | common/unicode/utypes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/unicode/utypes.h b/common/unicode/utypes.h index e865e0a2..60089f9f 100644 --- a/common/unicode/utypes.h +++ b/common/unicode/utypes.h @@ -137,7 +137,11 @@ #define U_ICUDATA_NAME "icudt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER #ifndef U_HIDE_INTERNAL_API #define U_USRDATA_NAME "usrdt" U_ICU_VERSION_SHORT U_ICUDATA_TYPE_LETTER /**< @internal */ -#define U_USE_USRDATA 1 /**< @internal */ +// BEGIN android-change - U_USE_USRDATA should be off by default. */ +#ifndef U_USE_USRDATA +#define U_USE_USRDATA 0 /**< @internal */ +#endif /* U_USE_USRDATA */ +// END android-change #endif /* U_HIDE_INTERNAL_API */ /** |