comparison libaf/af_format.h @ 28339:69346a3311e9

WORDS_BIGENDIAN is defined/undefined, not 0/1.
author diego
date Mon, 26 Jan 2009 09:56:27 +0000
parents 72d0b1444141
children f01023c524c3
comparison
equal deleted inserted replaced
28338:f375e517f6f6 28339:69346a3311e9
28 // Endianness 28 // Endianness
29 #define AF_FORMAT_BE (0<<0) // Big Endian 29 #define AF_FORMAT_BE (0<<0) // Big Endian
30 #define AF_FORMAT_LE (1<<0) // Little Endian 30 #define AF_FORMAT_LE (1<<0) // Little Endian
31 #define AF_FORMAT_END_MASK (1<<0) 31 #define AF_FORMAT_END_MASK (1<<0)
32 32
33 #if WORDS_BIGENDIAN // Native endian of cpu 33 #ifdef WORDS_BIGENDIAN // Native endian of cpu
34 #define AF_FORMAT_NE AF_FORMAT_BE 34 #define AF_FORMAT_NE AF_FORMAT_BE
35 #else 35 #else
36 #define AF_FORMAT_NE AF_FORMAT_LE 36 #define AF_FORMAT_NE AF_FORMAT_LE
37 #endif 37 #endif
38 38