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