]> granicus.if.org Git - icu/commitdiff
ICU-20214 Fix namespace error on Cygwin
authorKen Brown <kbrown@cornell.edu>
Tue, 16 Oct 2018 18:48:36 +0000 (14:48 -0400)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 18 Oct 2018 02:31:08 +0000 (19:31 -0700)
icu4c/source/i18n/unicode/numberrangeformatter.h

index 50546839edf46812b30827b8910afb8ed547165a..62d6100545e7c7e79bd16b4447943fb53b94fb08 100644 (file)
@@ -185,7 +185,7 @@ class NumberRangeFormatterImpl;
  * Export an explicit template instantiation. See datefmt.h
  * (When building DLLs for Windows this is required.)
  */
-#if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM <= U_PF_CYGWIN && !defined(U_IN_DOXYGEN)
+#if U_PF_WINDOWS <= U_PLATFORM && U_PLATFORM < U_PF_CYGWIN && !defined(U_IN_DOXYGEN)
 template struct U_I18N_API std::atomic<impl::NumberRangeFormatterImpl*>;
 #endif
 /** \endcond */