mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-2805 Improve support for Fat binaries on Mac OS
X-SVN-Rev: 14471
This commit is contained in:
parent
a6ae2907f5
commit
84c36b22db
1 changed files with 7 additions and 1 deletions
|
@ -91,8 +91,14 @@
|
|||
#define U_HAVE_NAMESPACE @U_HAVE_NAMESPACE@
|
||||
#endif
|
||||
|
||||
/* Determines the endianness of the platform */
|
||||
/* Determines the endianness of the platform
|
||||
It's done this way in case multiple architectures are being built at once.
|
||||
For example, Mac OS supports fat binaries, which can be both PPC and x86 based. */
|
||||
#if defined(BYTE_ORDER) && defined(BIG_ENDIAN)
|
||||
#define U_IS_BIG_ENDIAN (BYTE_ORDER == BIG_ENDIAN)
|
||||
#else
|
||||
#define U_IS_BIG_ENDIAN @U_IS_BIG_ENDIAN@
|
||||
#endif
|
||||
|
||||
/* 1 or 0 to enable or disable threads. If undefined, default is: enable threads. */
|
||||
#define ICU_USE_THREADS @ICU_USE_THREADS@
|
||||
|
|
Loading…
Add table
Reference in a new issue