diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-01-16 08:36:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-01-16 08:36:40 +0000 |
commit | 37c5250e03b2bea485749819f7a7a6101149cee4 (patch) | |
tree | fbdb29d3c87e1a064cc06ad4c0bfeaadfc76bf0f /include | |
parent | 0d3bb93ce8df754642b143f23a7856d8e333cf05 (diff) | |
download | curl-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.dist | 6 |
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" |