Assume POWER is big-endian, so it compiles.
[reference](http://nadeausoftware.com/articles/2012/02/c_c_tip_how_detect_processor_type_using_compiler_predefined_macros#POWER) We may want to come back and figure out if the processor is running in little-endian mode, but for now assume they're big-endian.
This commit is contained in:
parent
8fa4ac9ad9
commit
d07134e621
@ -27,7 +27,7 @@
|
||||
)
|
||||
#define IS_LITTLE_ENDIAN
|
||||
#elif ( \
|
||||
defined (__ARMEB__) || defined(__sparc) \
|
||||
defined (__ARMEB__) || defined(__sparc) || defined(__powerpc__) || defined(__POWERPC__) \
|
||||
)
|
||||
#define IS_BIG_ENDIAN
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user