]> granicus.if.org Git - icu/commitdiff
ICU-11318 Fix Windows build break on ARM with UWP projects.
authorJeff Genovy <29107334+jefgen@users.noreply.github.com>
Wed, 28 Feb 2018 05:51:54 +0000 (05:51 +0000)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Wed, 28 Feb 2018 05:51:54 +0000 (05:51 +0000)
X-SVN-Rev: 41006

icu4c/source/i18n/double-conversion-utils.h

index 7c030bf667e62aa5b05ad4e89b28db5456f0c55e..17a5683226424582de134fcf08cca5ca6fbf0765 100644 (file)
@@ -71,8 +71,9 @@ inline void abort_noreturn() { abort(); }
 // the output of the division with the expected result. (Inlining must be
 // disabled.)
 // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
+// ICU PATCH: Enable ARM builds for Windows with 'defined(_M_ARM)'.
 #if defined(_M_X64) || defined(__x86_64__) || \
-    defined(__ARMEL__) || defined(__avr32__) || \
+    defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || \
     defined(__hppa__) || defined(__ia64__) || \
     defined(__mips__) || \
     defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \