aboutsummaryrefslogtreecommitdiff
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
parent0d3bb93ce8df754642b143f23a7856d8e333cf05 (diff)
- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
32 bit and 64 bit.
-rw-r--r--CHANGES4
-rw-r--r--RELEASE-NOTES3
-rw-r--r--include/curl/curlbuild.h.dist6
3 files changed, 9 insertions, 4 deletions
diff --git a/CHANGES b/CHANGES
index e51fd8ac0..11208d0a3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,10 @@
Changelog
+Daniel Stenberg (16 Jan 2009)
+- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
+ 32 bit and 64 bit.
+
Daniel Stenberg (15 Jan 2009)
- Tim Ansell fixed a compiler warning in lib/cookie.c
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 7d3d77688..f51d64170 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -48,6 +48,7 @@ This release includes the following bugfixes:
o curlbuild.h was adjusted for SunPro compilers
o CURLOPT_COOKIELIST set to "SESS" on an easy handle with no cookies data
o fixed timeouts for TFTP
+ o fixed PPC builds
This release includes the following known bugs:
@@ -61,6 +62,6 @@ advice from friends like these:
Fred Machado, Ken Hirsch, Keshav Krity, Patrick Monnerat, Mark Karpeles,
Anthony Bryan, Peter Korsgaard, Phil Lisiecki, Bas Mevissen, Rob Crittenden,
Emil Romanus, Karl Moerder, Daniel Black, Stefan Teleman, Michael Wallner,
- Grant Erickson, Tim Ansell
+ Grant Erickson, Tim Ansell, Andrew de los Reyes
Thanks! (and sorry if I forgot to mention someone)
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"