$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] define for 32/64 bitness?
From: Rene Eng (gemini67_at_[hidden])
Date: 2010-02-16 23:17:50
Where I work we use the define __LP64 to distinguish between 32 and 64 bit
mode.
#ifdef __LP64
is 64 bit mode.
2010/2/17 Alex Miller <alex55miller_at_[hidden]>
> >
> > Does boost provide an preprocessor define telling if the boost lib is
> build
> > for 32 or 64 bit? I need this info for the second parameter of
> > posix_memalign().
> >
>
> Although it's not boost, the following might be helpful:
> http://predef.sourceforge.net/prearch.html#sec3
>
>
-- Dubito ergo cogito; cogito ergo sum. (I doubt, therefore I think; I think therefore I am) René Descartes