]> granicus.if.org Git - icu/commitdiff
ICU-9353 Fix redefinition error in dictionarydata when building with Cygwin MSVC
authorMichael Ow <mow@svn.icu-project.org>
Fri, 24 Aug 2012 15:29:03 +0000 (15:29 +0000)
committerMichael Ow <mow@svn.icu-project.org>
Fri, 24 Aug 2012 15:29:03 +0000 (15:29 +0000)
X-SVN-Rev: 32224

icu4c/source/common/dictionarydata.cpp

index 8fdb2dc1cab2675befbf81dfa4563d0500d15a88..e9ec12edc2b40e8724a1a2a2b8d9383635f290b3 100644 (file)
 
 U_NAMESPACE_BEGIN
 
+#ifndef CYGWINMSVC /* On Cygwin/MSVC, the error redefinition of symbols occurs.*/
 const int32_t DictionaryData::TRIE_TYPE_BYTES;
 const int32_t DictionaryData::TRIE_TYPE_UCHARS;
+#endif
 
 UCharsDictionaryMatcher::~UCharsDictionaryMatcher() {
     udata_close(file);