Damien George
9630376dbc
py/mpconfig.h: Be stricter when autodetecting machine endianness.
...
This patch changes 2 things in the endianness detection:
1. Don't assume that __BYTE_ORDER__ not being __ORDER_LITTLE_ENDIAN__ means
that the machine is big endian, so add an explicit check that this macro
is indeed __ORDER_BIG_ENDIAN__ (same with __BYTE_ORDER, __LITTLE_ENDIAN
and __BIG_ENDIAN). A machine could have PDP endianness.
2. Remove the checks which base their autodetection decision on whether any
little or big endian macros are defined (eg __LITTLE_ENDIAN__ or
__BIG_ENDIAN__). Just because a system defines these does not mean it
has that endianness.
See issue #3760 .
2018-05-11 21:51:34 +10:00
..
2018-02-24 23:10:20 +11:00
2018-02-24 23:10:20 +11:00
2018-04-10 15:06:47 +10:00
2018-02-24 23:10:20 +11:00
2018-02-24 23:10:20 +11:00
2018-02-24 23:10:20 +11:00
2018-05-02 16:50:28 +10:00
2018-02-20 18:00:44 +11:00
2018-02-24 23:03:17 +11:00
2018-02-14 18:41:17 +11:00
2018-02-14 18:41:17 +11:00
2018-02-14 18:41:17 +11:00
2018-04-10 15:06:47 +10:00
2018-04-10 15:06:47 +10:00
2018-04-10 15:06:47 +10:00
2018-04-10 15:06:47 +10:00
2018-05-04 20:39:16 +10:00
2018-04-10 15:06:47 +10:00
2018-03-01 17:00:02 +11:00
2018-02-19 16:08:20 +11:00
2018-05-10 23:14:23 +10:00
2018-03-16 23:54:06 +11:00
2018-02-22 12:48:51 +11:00
2017-12-20 16:55:42 +11:00
2018-03-13 13:23:30 +11:00
2018-04-10 15:06:47 +10:00
2018-05-10 23:14:23 +10:00
2018-02-21 22:39:25 +11:00
2017-12-19 16:59:08 +11:00
2018-04-04 14:24:03 +10:00
2018-04-04 14:23:25 +10:00
2018-05-11 21:51:34 +10:00
2018-05-01 15:53:25 +10:00
2018-04-04 14:24:03 +10:00
2018-02-25 22:59:19 +11:00
2017-12-29 14:05:48 +11:00
2017-12-29 22:24:53 +11:00
2017-12-29 22:24:46 +11:00
2017-12-28 16:46:30 +11:00
2018-04-27 15:10:42 +10:00
2017-12-29 22:24:46 +11:00
2017-12-29 22:24:46 +11:00
2017-12-28 16:46:30 +11:00
2018-05-01 23:25:18 +10:00
2018-05-11 13:44:50 +10:00
2018-02-18 21:51:04 -06:00
2018-03-17 00:31:40 +11:00
2018-03-17 00:31:40 +11:00
2018-02-08 14:35:43 +11:00
2018-04-10 14:06:26 +10:00
2018-04-05 01:11:26 +10:00
2018-04-05 01:11:26 +10:00
2018-03-02 11:01:24 +11:00
2018-03-13 14:03:15 +11:00
2018-02-20 17:56:58 +11:00
2018-02-20 17:56:58 +11:00
2018-02-14 23:17:06 +11:00
2017-12-19 14:01:19 +11:00
2018-04-05 16:14:17 +10:00
2018-04-10 13:41:32 +10:00
2018-02-14 18:19:22 +11:00
2018-02-07 15:44:29 +11:00
2017-12-29 13:44:26 +11:00
2018-02-08 14:02:50 +11:00
2018-02-14 18:41:17 +11:00
2018-04-10 15:06:47 +10:00
2018-02-19 00:26:14 +11:00
2018-02-19 16:12:44 +11:00
2018-02-19 00:26:14 +11:00
2018-05-11 13:48:47 +10:00
2018-05-10 23:00:04 +10:00
2018-05-10 23:00:04 +10:00
2018-05-01 15:54:50 +10:00
2018-05-01 15:54:50 +10:00
2018-02-14 18:19:22 +11:00
2018-04-04 00:51:10 +10:00