|
Boost : |
From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2006-10-13 10:19:42
John Maddock wrote:
> Done.
John,
sorry to bother you with this, but I just thought, that while we
are at it, it makes sense to fix endian.hpp for HP-UX/ia64 also.
Currently, endian.hpp is using the __hppa macro which is defined
on PA-RISC, but not on HP-UX/ia64. It makes PA-RISC a big endian
platform, which is correct, and leaves HP-UX/ia64 a little endian
platform, which is wrong. The correct macro defined on both PA-RISC
and HP-UX/ia64 is __hpux.
Attached the patch. Could you, please, apply it to both the HEAD and
the RC branch?
Thanks in advance,
Boris
Index: endian.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/detail/endian.hpp,v
retrieving revision 1.3
diff -r1.3 endian.hpp
42c42
< || defined(__ppc__) || defined(__hppa) \
--- > || defined(__ppc__) || defined(__hpux) \ ----- Original Message ----- From: "John Maddock" <john_at_[hidden]> To: <boost_at_[hidden]> Sent: Friday, October 13, 2006 8:41 AM Subject: Re: [boost] Optimized portable isnan, isfinite, fpclassify etc Johan Råde wrote: > You are right. The macros > > __amd64 > __amd64__ > _M_AMD64 > __x86_64 > __x86_64__ > _M_X64 > > should be added to the little endian platforms. > > But I'm not the right person to ask. > I do not have developper access to Boost. > > John, could you fix this? Done. John. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk