Big Endian

Dear Rooters

In some of my header files I have to define BIG_ENDIAN for my Mac but not for Intel PCs.
Does root have a variable NNNN for the architectures so that I can write:

#ifdef NNNNN
   #define IS_BIG_ENDIAN 1
   #define IS_BIG_ENDIAN 0

Best regards

Look at include RConfig.h and the various symbol definitions in particular R__BYTESWAP


Dear Rene

Thank you, I had a look at RConfig.h but was not sure if R__BYTESWAP is the correct variable.

Best regards