• Kal Conley's avatar
    Improved little endian byte order detection · c3e92802
    Kal Conley authored
    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.
    c3e92802
Name
Last commit
Last update
benchmarks Loading commit data...
editors Loading commit data...
examples Loading commit data...
java Loading commit data...
javanano Loading commit data...
m4 Loading commit data...
more_tests Loading commit data...
python Loading commit data...
ruby Loading commit data...
src Loading commit data...
vsprojects Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
Android.mk Loading commit data...
CHANGES.txt Loading commit data...
CONTRIBUTORS.txt Loading commit data...
INSTALL.txt Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
generate_descriptor_proto.sh Loading commit data...
post_process_dist.sh Loading commit data...
protobuf-lite.pc.in Loading commit data...
protobuf.pc.in Loading commit data...