]> granicus.if.org Git - curl/commitdiff
curl/system.h: GCC doesn't define __ppc__ on PowerPC, uses __powerpc__
authorAlex Potapenko <opotapenko@gmail.com>
Sun, 13 Aug 2017 12:11:12 +0000 (15:11 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Aug 2017 15:48:42 +0000 (17:48 +0200)
Closes #1774

include/curl/system.h

index d418e4444e002e9d4424b203c39caadeb887df44..95c72d99833fdf337e09d9efe93edac2c834c624 100644 (file)
 
 #elif defined(__GNUC__)
 #  if !defined(__LP64__) && (defined(__ILP32__) || \
-      defined(__i386__) || defined(__ppc__) || defined(__arm__) || \
+      defined(__i386__) || defined(__powerpc__) || defined(__arm__) || \
       defined(__sparc__) || defined(__mips__) || defined(__sh__) || \
       defined(__XTENSA__) || (defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ == 4))
 #    define CURL_SIZEOF_LONG           4