include/SDL_byteorder.h
changeset 969 cfb9518670f4
parent 769 b8d311d90021
child 1137 0f9d463bf09c
equal deleted inserted replaced
968:4675910b0b7b 969:cfb9518670f4
    37 /* Pardon the mess, I'm trying to determine the endianness of this host.
    37 /* Pardon the mess, I'm trying to determine the endianness of this host.
    38    I'm doing it by preprocessor defines rather than some sort of configure
    38    I'm doing it by preprocessor defines rather than some sort of configure
    39    script so that application code can use this too.  The "right" way would
    39    script so that application code can use this too.  The "right" way would
    40    be to dynamically generate this file on install, but that's a lot of work.
    40    be to dynamically generate this file on install, but that's a lot of work.
    41  */
    41  */
    42 #if  defined(__i386__) || defined(__ia64__) || defined(WIN32) || \
    42 #if (defined(__i386__) || defined(__i386)) || \
       
    43      defined(__ia64__) || defined(WIN32) || \
    43     (defined(__alpha__) || defined(__alpha)) || \
    44     (defined(__alpha__) || defined(__alpha)) || \
    44      defined(__arm__) || \
    45      defined(__arm__) || \
    45     (defined(__mips__) && defined(__MIPSEL__)) || \
    46     (defined(__mips__) && defined(__MIPSEL__)) || \
    46      defined(__SYMBIAN32__) || \
    47      defined(__SYMBIAN32__) || \
    47      defined(__x86_64__) || \
    48      defined(__x86_64__) || \