]> granicus.if.org Git - python/commit
Use the proper autoconf macro for checking byte order.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 17 Jul 2009 03:51:27 +0000 (03:51 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 17 Jul 2009 03:51:27 +0000 (03:51 +0000)
commit7aaa770b08e79960073e0e278fee61a5c159335d
treefd5b8bf6f10b1a977f06f6a7109536061e3fb123
parentf8926b2efeb1cd719736c42a14e2a92558c81aed
Use the proper autoconf macro for checking byte order.

The BYTEORDER_IS_BIG_ENDIAN macro is defined Objects/unicodeobject.c,
thus the code was always emitting the little-endian machine format codes.

This should fix the failure seen on the SPARC buildbot.
Modules/arraymodule.c