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