[issue16166] Add PY_BYTE_ORDER macro to get endianess of platform

Christian Heimes report at bugs.python.org
Wed Oct 17 23:46:20 CEST 2012


Christian Heimes added the comment:

I've replaced the macros with PY_BIG_ENDIAN or PY_LITTLE_ENDIAN. Both are always defined and exactly one is set to 1, the other to 0.

----------
Added file: http://bugs.python.org/file27603/endian2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16166>
_______________________________________


More information about the Python-bugs-list mailing list