Commit f32498fe authored by Damien George's avatar Damien George
Browse files

py: Extra autodetect for little endianness using __LITTLE_ENDIAN__.

parent fec70ad3
......@@ -448,6 +448,8 @@ typedef double mp_float_t;
#else
#define MP_ENDIANNESS_LITTLE (0)
#endif
#elif defined(__LITTLE_ENDIAN__) || defined(__LITTLE_ENDIAN) || defined (_LITTLE_ENDIAN)
#define MP_ENDIANNESS_LITTLE (1)
#elif defined(__BIG_ENDIAN__) || defined(__BIG_ENDIAN) || defined (_BIG_ENDIAN)
#define MP_ENDIANNESS_LITTLE (0)
#else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment