diff options
| author | Trent Nelson <trent@trent.me> | 2012-10-17 22:08:40 (GMT) |
|---|---|---|
| committer | Trent Nelson <trent@trent.me> | 2012-10-17 22:08:40 (GMT) |
| commit | f17512f67e545bfeda1905b63f80217e0b7853aa (patch) | |
| tree | f88dd59d7d4b46c8063ec714dae0c99dbf3aeca6 /Modules/arraymodule.c | |
| parent | c78649873fe76da34230bb8ee5284ff64b2af2e4 (diff) | |
| parent | 743e0cd6b5d59767aae2524700857f188ca1e80e (diff) | |
| download | cpython-f17512f67e545bfeda1905b63f80217e0b7853aa.zip cpython-f17512f67e545bfeda1905b63f80217e0b7853aa.tar.gz cpython-f17512f67e545bfeda1905b63f80217e0b7853aa.tar.bz2 | |
Merge heads.
Diffstat (limited to 'Modules/arraymodule.c')
| -rw-r--r-- | Modules/arraymodule.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 3f5aa8b..4d4c2ae 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1664,11 +1664,8 @@ static const struct mformatdescr { static enum machine_format_code typecode_to_mformat_code(char typecode) { -#ifdef WORDS_BIGENDIAN - const int is_big_endian = 1; -#else - const int is_big_endian = 0; -#endif + const int is_big_endian = PY_BIG_ENDIAN; + size_t intsize; int is_signed; |
