From f637cafa7abc8884b10efcaf752bfbe1f493bded Mon Sep 17 00:00:00 2001 From: Technion Date: Mon, 25 Feb 2013 16:17:33 +1100 Subject: [PATCH] Fixed build on ARM systems without configure scripts. Numerous projects have cropped up with compile issues traced to this file. An example test case: include include "include/curl/curlbuild.h.dist" int main() { printf("%s\n", CURL_FORMAT_CURL_OFF_T);} This file will fail to compile on a Raspberry pi due to running GCC, on neither i385, ppc or x64. --- include/curl/curlbuild.h.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/curl/curlbuild.h.dist b/include/curl/curlbuild.h.dist index d0b32acbec47fb..5737cc08df1b8b 100644 --- a/include/curl/curlbuild.h.dist +++ b/include/curl/curlbuild.h.dist @@ -527,7 +527,7 @@ /* ===================================== */ #elif defined(__GNUC__) -# if defined(__i386__) || defined(__ppc__) +# if defined(__i386__) || defined(__ppc__) || defined(__arm__) # define CURL_SIZEOF_LONG 4 # define CURL_TYPEOF_CURL_OFF_T long long # define CURL_FORMAT_CURL_OFF_T "lld"