Merge pull request #4846 from ckhardin/mips-big-endian

Fix to allow a compilation under mips big endian with gcc
pull/4853/head
Feng Xiao 7 years ago committed by GitHub
commit da2a6f68db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/google/protobuf/stubs/platform_macros.h

@ -56,7 +56,7 @@
#elif defined(__aarch64__) #elif defined(__aarch64__)
#define GOOGLE_PROTOBUF_ARCH_AARCH64 1 #define GOOGLE_PROTOBUF_ARCH_AARCH64 1
#define GOOGLE_PROTOBUF_ARCH_64_BIT 1 #define GOOGLE_PROTOBUF_ARCH_64_BIT 1
#elif defined(__MIPSEL__) #elif defined(__mips__)
#if defined(__LP64__) #if defined(__LP64__)
#define GOOGLE_PROTOBUF_ARCH_MIPS64 1 #define GOOGLE_PROTOBUF_ARCH_MIPS64 1
#define GOOGLE_PROTOBUF_ARCH_64_BIT 1 #define GOOGLE_PROTOBUF_ARCH_64_BIT 1

Loading…
Cancel
Save