Boost logo

Boost :

From: Miro Jurisic (macdev_at_[hidden])
Date: 2005-04-05 17:51:01

In article <013a01c53a26$cae17a70$6501a8c0_at_pdimov2>,
 "Peter Dimov" <pdimov_at_[hidden]> wrote:

> >> sp_counted_base_gcc_ppc.hpp and sp_counted_base_cw_ppc.hpp are now in
> >> CVS. Uncomment the appropriate lines in sp_counted_base.hpp to enable
> >> them (is __powerpc__ the proper target macro for g++?)
> >
> > Good question.. I'll find out when I try it :-)
> g++land is so exciting ;-) It seems that the Apple variant defines __ppc__,
> whereas the Linux/PPC version defines __powerpc__.

Which macro is the right one depends on what you really mean. Are you trying to
conditionalize on g++ on Mac OS X? Any C++ compiler on Mac OS X? g++ on any PPC
platform? The answers are different for each one of those. Odds are you want
__APPLE__ && __MACH__, and not get PPC involved at all.


Boost list run by bdawes at, gregod at, cpdaniel at, john at