aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorKal Conley <b17c0de@gmail.com>2014-12-16 02:30:45 +0100
committerKal Conley <b17c0de@gmail.com>2014-12-16 02:30:45 +0100
commitc3e928021f3817ac54973dc54fd6d91d292e55aa (patch)
tree486dead413de3ce8be8c654d27640b37ca5476b2 /python
parent59692c3fc080645fdc6e8d2445f04a1d65cee48c (diff)
downloadprotobuf-c3e928021f3817ac54973dc54fd6d91d292e55aa.tar.gz
protobuf-c3e928021f3817ac54973dc54fd6d91d292e55aa.tar.bz2
protobuf-c3e928021f3817ac54973dc54fd6d91d292e55aa.zip
Improved little endian byte order detection
Including <sys/param.h> on Mac/iOS doesn't define __BYTE_ORDER so PROTOBUF_LITTLE_ENDIAN was never being defined. This commit adds a check for the __LITTLE_ENDIAN__ macro which is defined by clang and Apple gcc on little endian architectures.
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions