summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-01-16 08:36:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-01-16 08:36:40 +0000
commit37c5250e03b2bea485749819f7a7a6101149cee4 (patch)
treefbdb29d3c87e1a064cc06ad4c0bfeaadfc76bf0f /include
parent0d3bb93ce8df754642b143f23a7856d8e333cf05 (diff)
downloadcurl-37c5250e03b2bea485749819f7a7a6101149cee4.tar.gz
- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
32 bit and 64 bit.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curlbuild.h.dist6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/curl/curlbuild.h.dist b/include/curl/curlbuild.h.dist
index fe38f0f59..247213cd4 100644
--- a/include/curl/curlbuild.h.dist
+++ b/include/curl/curlbuild.h.dist
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -494,7 +494,7 @@
/* ===================================== */
#elif defined(__GNUC__)
-# if defined(__i386__)
+# if defined(__i386__) || defined(__ppc__)
# define CURL_SIZEOF_LONG 4
# define CURL_TYPEOF_CURL_OFF_T long long
# define CURL_FORMAT_CURL_OFF_T "lld"
@@ -503,7 +503,7 @@
# define CURL_SIZEOF_CURL_OFF_T 8
# define CURL_SUFFIX_CURL_OFF_T LL
# define CURL_SUFFIX_CURL_OFF_TU ULL
-# elif defined(__x86_64__)
+# elif defined(__x86_64__) || defined(__ppc64__)
# define CURL_SIZEOF_LONG 8
# define CURL_TYPEOF_CURL_OFF_T long
# define CURL_FORMAT_CURL_OFF_T "ld"