From 90bcaf8e3aa2c4b413bdb42c5727bc9779055628 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 14 Dec 2004 17:58:42 +0000 Subject: [PATCH] ICU-4296 Reduce the number of exports. Public static data can be a problem for gcc on Windows. X-SVN-Rev: 16949 --- icu4c/source/common/iculserv.cpp | 2 -- icu4c/source/common/iculserv.h | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/icu4c/source/common/iculserv.cpp b/icu4c/source/common/iculserv.cpp index f99462babd..440c1f3474 100644 --- a/icu4c/source/common/iculserv.cpp +++ b/icu4c/source/common/iculserv.cpp @@ -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, diff --git a/icu4c/source/common/iculserv.h b/icu4c/source/common/iculserv.h index cbf8cc0658..02d175c8cc 100644 --- a/icu4c/source/common/iculserv.h +++ b/icu4c/source/common/iculserv.h @@ -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.