This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
CPP macro for Byte-order
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Date: 17 Jan 2002 18:34:37 +0100
- Subject: CPP macro for Byte-order
- Organization: CodeSourcery, LLC
Hi,
I'm currently working on the numeric_limits<> support for floating
point types (mainly for things like NaNs, SNaNs, Infinities,
subnormals and such) in the C++ runtime system. I would like to know
whether there is a CPP macro that defines the endianness selected for
compiling a given program under a given OS. Any hints?
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com