aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMAN-AT-ARMS <donny@ecgnetwork.com>2014-06-16 15:12:14 -0400
committerDaniel Stenberg <daniel@haxx.se>2014-06-16 21:44:28 +0200
commit93ec89042eadd2a73c2ce815971c4dea10129cea (patch)
tree02f7cfc8f93c37a9365b0444e0d273c12d1ea370 /include
parente810ddbb707f400983b52f4c9705ff2de3688fbb (diff)
curlbuild: fix GCC build on SPARC systems without configure script
Diffstat (limited to 'include')
-rw-r--r--include/curl/curlbuild.h.dist4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/curl/curlbuild.h.dist b/include/curl/curlbuild.h.dist
index 3ad2f018d..f09419a84 100644
--- a/include/curl/curlbuild.h.dist
+++ b/include/curl/curlbuild.h.dist
@@ -528,7 +528,7 @@
#elif defined(__GNUC__)
# if defined(__ILP32__) || \
- defined(__i386__) || defined(__ppc__) || defined(__arm__)
+ defined(__i386__) || defined(__ppc__) || 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 +538,7 @@
# 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(__sparc64__)
# define CURL_SIZEOF_LONG 8
# define CURL_TYPEOF_CURL_OFF_T long
# define CURL_FORMAT_CURL_OFF_T "ld"