summaryrefslogtreecommitdiff
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2012-11-03 21:36:22 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2012-11-03 21:36:22 +0200
commit46f36c8eeef40dc1b68be5514ed8b52c14c374a2 (patch)
tree5ae69bbff352be6084384242297ee677b4eec5b3 /Modules/arraymodule.c
parent1a60c7a058d2b7cb5d844845e32376cef0c9b8f9 (diff)
parent9653e7ac7f1e6ca106848def3bd3f0a59e349d10 (diff)
downloadcpython-46f36c8eeef40dc1b68be5514ed8b52c14c374a2.tar.gz
Merge typo fixes (and the fix for #8401 that I wrongly merged) with 3.3.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 3f5aa8b361..4d4c2aee5a 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;