]> granicus.if.org Git - curl/commitdiff
- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Jan 2009 08:36:40 +0000 (08:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Jan 2009 08:36:40 +0000 (08:36 +0000)
  32 bit and 64 bit.

CHANGES
RELEASE-NOTES
include/curl/curlbuild.h.dist

diff --git a/CHANGES b/CHANGES
index e51fd8ac0e19eb2b977d48e788d2aaa57e5160ab..11208d0a3589851f50e5eb6339563bec62fa70ea 100644 (file)
--- 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
 
index 7d3d7768801eb1d4ec5833708fc7ec62af3c27c3..f51d64170871612325ba23fbc2aabe9431feceb1 100644 (file)
@@ -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)
index fe38f0f59db442478803ab39ff043fc47d05b791..247213cd4a31015fe31011887e167eec01c2192f 100644 (file)
@@ -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
 /* ===================================== */
 
 #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"
 #    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"