aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/stubs/platform_macros.h
diff options
context:
space:
mode:
authorliujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-12-19 02:37:59 +0000
committerliujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-12-19 02:37:59 +0000
commit728aa760fdb0e0ddfe1f6a6c0f48a5d625189c8d (patch)
treea87804bf9914f549f4abb7157676e70e629f52fc /src/google/protobuf/stubs/platform_macros.h
parent0b30eb8c87a42ec63d41b943f9536bb94fc3c35b (diff)
downloadprotobuf-728aa760fdb0e0ddfe1f6a6c0f48a5d625189c8d.tar.gz
protobuf-728aa760fdb0e0ddfe1f6a6c0f48a5d625189c8d.tar.bz2
protobuf-728aa760fdb0e0ddfe1f6a6c0f48a5d625189c8d.zip
Down-integrate form internal opensource branch
Diffstat (limited to 'src/google/protobuf/stubs/platform_macros.h')
-rw-r--r--src/google/protobuf/stubs/platform_macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/platform_macros.h b/src/google/protobuf/stubs/platform_macros.h
index cba9fbd0..b9c3760f 100644
--- a/src/google/protobuf/stubs/platform_macros.h
+++ b/src/google/protobuf/stubs/platform_macros.h
@@ -51,6 +51,9 @@
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
#elif defined(__pnacl__)
#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
+#elif defined(__ppc__)
+#define GOOGLE_PROTOBUF_ARCH_PPC 1
+#define GOOGLE_PROTOBUF_ARCH_32_BIT 1
#else
#error Host architecture was not detected as supported by protobuf
#endif