aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2018-06-29 21:44:55 -0700
committerGravatar GitHub <noreply@github.com>2018-06-29 21:44:55 -0700
commitda2a6f68dbe006d5b4af03f8560de1c0a0b427e2 (patch)
tree993c2c8c3f56a65889d5bc3d8e988d1f6aa8c0dd
parent1ae2cc02b668c5f8efac4cebb8029e095935dbbd (diff)
parentf1b841b62896fc47bbd47e20e81e17a003bb54b1 (diff)
Merge pull request #4846 from ckhardin/mips-big-endian
Fix to allow a compilation under mips big endian with gcc
-rw-r--r--src/google/protobuf/stubs/platform_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/platform_macros.h b/src/google/protobuf/stubs/platform_macros.h
index ff4dea7b..ce1b1e36 100644
--- a/src/google/protobuf/stubs/platform_macros.h
+++ b/src/google/protobuf/stubs/platform_macros.h
@@ -56,7 +56,7 @@
#elif defined(__aarch64__)
#define GOOGLE_PROTOBUF_ARCH_AARCH64 1
#define GOOGLE_PROTOBUF_ARCH_64_BIT 1
-#elif defined(__MIPSEL__)
+#elif defined(__mips__)
#if defined(__LP64__)
#define GOOGLE_PROTOBUF_ARCH_MIPS64 1
#define GOOGLE_PROTOBUF_ARCH_64_BIT 1