]> granicus.if.org Git - icu/commitdiff
ICU-20853 undef Solaris x86 register macros where they conflict
authorMarkus Scherer <markus.icu@gmail.com>
Fri, 2 Oct 2020 18:38:52 +0000 (11:38 -0700)
committerMarkus Scherer <markus.icu@gmail.com>
Fri, 2 Oct 2020 21:20:44 +0000 (14:20 -0700)
icu4c/source/common/ubidiimp.h
icu4c/source/test/intltest/numbertest.h

index e11c7fabccddd284c2d15271e1e84bcedf508b14..e48fc6f941621b7fb61b6c6cbe423f24021f54a9 100644 (file)
 
 /* miscellaneous definitions ---------------------------------------------- */
 
+// ICU-20853=ICU-20935 Solaris #defines CS and ES in sys/regset.h
+#ifdef CS
+#   undef CS
+#endif
+#ifdef ES
+#   undef ES
+#endif
+
 typedef uint8_t DirProp;
 typedef uint32_t Flags;
 
index 76032636afef0f50684f00e85197e9a495ab0155..39c1a12b25099fd0a0554a9300b188b417e1a174 100644 (file)
 #include "unicode/numberformatter.h"
 #include "unicode/numberrangeformatter.h"
 
+// ICU-20241 Solaris #defines ESP in sys/regset.h
+#ifdef ESP
+#   undef ESP
+#endif
+
 using namespace icu::number;
 using namespace icu::number::impl;
 using namespace icu::numparse;