mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 02:22:57 +01:00
Merge pull request #1600 from zosrothko/patch-2
Backport patch for Power PC with Little Endian
This commit is contained in:
commit
4126f85cd4
@ -166,7 +166,12 @@
|
||||
#elif defined(__PPC) || defined(__POWERPC__) || defined(__powerpc) || defined(__PPC__) || \
|
||||
defined(__powerpc__) || defined(__ppc__) || defined(__ppc) || defined(_ARCH_PPC) || defined(_M_PPC)
|
||||
#define POCO_ARCH POCO_ARCH_PPC
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#if defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
|
||||
#define POCO_ARCH_LITTLE_ENDIAN 1
|
||||
#else
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#endif
|
||||
|
||||
#elif defined(_POWER) || defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_ARCH_PWR3) || \
|
||||
defined(_ARCH_PWR4) || defined(__THW_RS6000)
|
||||
#define POCO_ARCH POCO_ARCH_POWER
|
||||
|
Loading…
Reference in New Issue
Block a user