mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-20853 undef Solaris x86 register macros where they conflict
This commit is contained in:
parent
b74b0c957e
commit
d533fd5719
2 changed files with 13 additions and 0 deletions
|
@ -26,6 +26,14 @@
|
|||
|
||||
/* 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;
|
||||
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
#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;
|
||||
|
|
Loading…
Add table
Reference in a new issue