aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-17 14:39:39 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-18 15:32:21 +0200
commitf2d060cf2b4f5d52ec8f356449085e8070fb5370 (patch)
tree3d3873517f37284e4291f13097697f91fba0c24b
parent74dac344b2feb2e0f4baddb70532dc8e45d2d817 (diff)
curl/system.h: check for __ppc__ as well
... regression since issue #1774 (commit 10b3df10596a) since obviously some older gcc doesn't know __powerpc__ while some newer doesn't know __ppc__ ... Fixes #1797 Closes #1798 Reported-by: Ryan Schmidt
-rw-r--r--include/curl/system.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/curl/system.h b/include/curl/system.h
index 043b88bb6..df4d283dd 100644
--- a/include/curl/system.h
+++ b/include/curl/system.h
@@ -344,8 +344,8 @@
#elif defined(__GNUC__)
# if !defined(__LP64__) && \
- (defined(__ILP32__) || \
- defined(__i386__) || defined(__powerpc__) || defined(__arm__) || \
+ (defined(__ILP32__) || defined(__i386__) || \
+ defined(__ppc__) || defined(__powerpc__) || defined(__arm__) || \
defined(__sparc__) || defined(__mips__) || defined(__sh__) || \
defined(__XTENSA__) || \
(defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4))