- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both

32 bit and 64 bit.
This commit is contained in:
Daniel Stenberg 2009-01-16 08:36:40 +00:00
parent 0d3bb93ce8
commit 37c5250e03
3 changed files with 9 additions and 4 deletions

View File

@ -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

View 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)

View 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
@ -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"