|
Boost : |
Subject: Re: [boost] Official boost macro to determine endianess?
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2017-04-05 13:59:10
> You should check the macro values instead of testing if they are defined
> (i.e. use #if instead of #ifdef).
Oh thanks, I have to check if it is positive.
Now I get the right BOOST_ENDIAN_LITTLE_BYTE (the only one positive).
Frédéric
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk