1 #if defined(__BIG_ENDIAN__) 2 #error "__BIG_ENDIAN__ defined!" 3 #endif 4 #if (__LITTLE_ENDIAN__ != 1) 5 #error "__LITTLE_ENDIAN__ not correctly defined!" 6 #endif 7 #if (__BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__) 8 #error "__BYTE_ORDER__ not correctly defined!" 9 #endif 10 11 /* 12 * check-name: endian-little.c 13 * check-command: sparse -mlittle-endian $file 14 */ 15