]> granicus.if.org Git - icu/commitdiff
ICU-12822 digitlst.cpp depends on <string> to include <locale.h> on windows. Include...
authorSteven R. Loomis <srl@icu-project.org>
Thu, 27 Oct 2016 01:35:55 +0000 (01:35 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Thu, 27 Oct 2016 01:35:55 +0000 (01:35 +0000)
X-SVN-Rev: 39486

icu4c/source/i18n/digitlst.cpp

index a3b3406ca64cd87d2cdac1426daffcad56c5a5f0..ab5b5571ab6920b784ab1fc569fd6ee6c023259e 100644 (file)
@@ -60,8 +60,8 @@
 # endif
 #endif
 
-#if U_USE_STRTOD_L && !U_PLATFORM_USES_ONLY_WIN32_API
-# if U_PLATFORM == U_PF_CYGWIN
+#if U_USE_STRTOD_L
+# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
 #   include <locale.h>
 # else
 #   include <xlocale.h>