From dd69576dc1324720ad099de1baa1bc215d3f6864 Mon Sep 17 00:00:00 2001 From: MAN-AT-ARMS Date: Tue, 9 Sep 2014 13:18:28 -0400 Subject: [PATCH] Fix building with curl on Linux PPC and Sparc --- code/libcurl-7.35.0/curl/curlbuild.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/libcurl-7.35.0/curl/curlbuild.h b/code/libcurl-7.35.0/curl/curlbuild.h index 3ad2f018..d7790db5 100644 --- a/code/libcurl-7.35.0/curl/curlbuild.h +++ b/code/libcurl-7.35.0/curl/curlbuild.h @@ -528,7 +528,8 @@ #elif defined(__GNUC__) # if defined(__ILP32__) || \ - defined(__i386__) || defined(__ppc__) || defined(__arm__) + defined(__i386__) || defined(__ppc__) || defined(__powerpc__) || \ + defined(__arm__) || defined(__sparc__) # define CURL_SIZEOF_LONG 4 # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld" @@ -538,7 +539,8 @@ # define CURL_SUFFIX_CURL_OFF_T LL # define CURL_SUFFIX_CURL_OFF_TU ULL # elif defined(__LP64__) || \ - defined(__x86_64__) || defined(__ppc64__) + defined(__x86_64__) || defined(__ppc64__) || defined(__powerpc64__) || \ + defined(__sparc64__) # define CURL_SIZEOF_LONG 8 # define CURL_TYPEOF_CURL_OFF_T long # define CURL_FORMAT_CURL_OFF_T "ld"