google/protobuf — pull request #139 by c0nk (2014-12-16 01:39:32+00:00)
Title: Improved little endian byte order detection

Including 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.