1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

curl/system.h: GCC doesn't define __ppc__ on PowerPC, uses __powerpc__

Closes #1774
This commit is contained in:
Alex Potapenko 2017-08-13 15:11:12 +03:00 committed by Daniel Stenberg
parent 6bde13a531
commit 10b3df1059
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -426,7 +426,7 @@
#elif defined(__GNUC__) #elif defined(__GNUC__)
# if !defined(__LP64__) && (defined(__ILP32__) || \ # if !defined(__LP64__) && (defined(__ILP32__) || \
defined(__i386__) || defined(__ppc__) || defined(__arm__) || \ defined(__i386__) || defined(__powerpc__) || defined(__arm__) || \
defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ defined(__sparc__) || defined(__mips__) || defined(__sh__) || \
defined(__XTENSA__) || (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4)) defined(__XTENSA__) || (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4))
# define CURL_SIZEOF_LONG 4 # define CURL_SIZEOF_LONG 4