ICU-4296 Reduce the number of exports. Public static data can be a problem for gcc on Windows.

X-SVN-Rev: 16949
This commit is contained in:
George Rhoten 2004-12-14 17:58:42 +00:00
parent 4b70b59e77
commit 90bcaf8e3a
2 changed files with 3 additions and 3 deletions

View File

@ -262,8 +262,6 @@ LocaleUtility::isFallbackOf(const UnicodeString& root, const UnicodeString& chil
******************************************************************
*/
const int32_t LocaleKey::KIND_ANY = -1;
LocaleKey*
LocaleKey::createWithCanonicalFallback(const UnicodeString* primaryID,
const UnicodeString* canonicalFallbackID,

View File

@ -68,7 +68,9 @@ class U_COMMON_API LocaleKey : public ICUServiceKey {
UnicodeString _currentID;
public:
static const int32_t KIND_ANY; // = -1;
enum {
KIND_ANY = -1
};
/**
* Create a LocaleKey with canonical primary and fallback IDs.