]> granicus.if.org Git - icu/commitdiff
ICU-21210 Fix static builds on Windows
authorChristoph Gohlke <cjgohlke@gmail.com>
Fri, 31 Jul 2020 12:54:55 +0000 (05:54 -0700)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 18 Feb 2021 20:24:36 +0000 (12:24 -0800)
icu4c/source/i18n/unicode/numberrangeformatter.h

index dfceeefdb478bf8c71f21ca01e33ee620a3418bd..d70afc80b718210a9efe2bc418c26a7f4e2e7ab7 100644 (file)
@@ -73,7 +73,7 @@ struct UFormattedNumberRangeImpl;
  * Export an explicit template instantiation. See datefmt.h
  * (When building DLLs for Windows this is required.)
  */
-#if U_PLATFORM == U_PF_WINDOWS && !defined(U_IN_DOXYGEN)
+#if U_PLATFORM == U_PF_WINDOWS && !defined(U_IN_DOXYGEN) && !defined(U_STATIC_IMPLEMENTATION)
 } // namespace icu::number
 U_NAMESPACE_END