How could I determine the endianness of my compile environment at
compile time, instead of run time? I need a macro ("some_expressi on"),
i.e.
#if some_expression
#define TARGET_IS_LITTL E_ENDIAN
#else
#define TARGET_IS_BIG_E NDIAN
No way or some way? TIA.
compile time, instead of run time? I need a macro ("some_expressi on"),
i.e.
#if some_expression
#define TARGET_IS_LITTL E_ENDIAN
#else
#define TARGET_IS_BIG_E NDIAN
No way or some way? TIA.
Comment