ICU-21210 Fix static builds on Windows

This commit is contained in:
Christoph Gohlke 2020-07-31 05:54:55 -07:00 committed by Jeff Genovy
parent b6687af59c
commit 4fd9b8de8d

View 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