]> granicus.if.org Git - curl/commitdiff
curlbuild.h: Fix non-configure compiling to mips and sh4 targets
authorRichard Hosking <richard@hovis.net>
Fri, 16 Oct 2015 20:29:29 +0000 (21:29 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Oct 2015 21:57:44 +0000 (23:57 +0200)
include/curl/curlbuild.h.dist

index f09419a843915154a89f4fa0ac04bfdcfa5fb615..7bbaba9f8f324235f20556e2a3913942eab9686f 100644 (file)
 
 #elif defined(__GNUC__)
 #  if defined(__ILP32__) || \
-      defined(__i386__) || defined(__ppc__) || defined(__arm__) || defined(__sparc__)
+      defined(__i386__) || defined(__ppc__) || defined(__arm__) || \
+      defined(__sparc__) || defined(__mips__) || defined(__sh__)
 #    define CURL_SIZEOF_LONG           4
 #    define CURL_TYPEOF_CURL_OFF_T     long long
 #    define CURL_FORMAT_CURL_OFF_T     "lld"