summaryrefslogtreecommitdiff
path: root/icu4c/source/i18n/collationiterator.h
diff options
context:
space:
mode:
authorFredrik Roubert <roubert@google.com>2018-03-26 20:54:58 +0200
committerFredrik Roubert <roubert@google.com>2018-05-31 16:38:11 -0700
commit8785a57db35ab0ea5c4467df2743a850e692e7b9 (patch)
treea48b8125e04b69e57314d076f900db20d20f0311 /icu4c/source/i18n/collationiterator.h
parentb7abfd118744d1ef71595984fafdb744f2e64cfb (diff)
downloadicu-8785a57db35ab0ea5c4467df2743a850e692e7b9.tar.gz
Copy ICU4C 61.1 from icu-project.org to aosp/icu61.
These files were exported from the ICU Subversion repository by running the following command: svn export \ http://source.icu-project.org/repos/icu/tags/release-61-1/icu4c icu4c Change-Id: I918b61a1d6df500485567ed64090cd60530afd5d
Diffstat (limited to 'icu4c/source/i18n/collationiterator.h')
-rw-r--r--icu4c/source/i18n/collationiterator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/icu4c/source/i18n/collationiterator.h b/icu4c/source/i18n/collationiterator.h
index ff6e5ecea..12e05b448 100644
--- a/icu4c/source/i18n/collationiterator.h
+++ b/icu4c/source/i18n/collationiterator.h
@@ -34,12 +34,12 @@ class UVector32;
// Export an explicit template instantiation of the MaybeStackArray that
// is used as a data member of CEBuffer.
//
-// MSVC requires this, even though it should not be necessary.
-// No direct access to the MaybeStackArray leaks out of the i18n library.
+// When building DLLs for Windows this is required even though
+// no direct access to the MaybeStackArray leaks out of the i18n library.
//
// See digitlst.h, pluralaffix.h, datefmt.h, and others for similar examples.
//
-#if defined (_MSC_VER)
+#if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN
template class U_I18N_API MaybeStackArray<int64_t, CEBUFFER_INITIAL_CAPACITY>;
#endif