sm64pc/tools/determine-endian-bitwidth.c
2019-12-01 21:52:53 -05:00

12 lines
346 B
C

#include "platform_info.h"
#if IS_BIG_ENDIAN && IS_64_BIT
#error msgbegin --endian big --bitwidth 64 msgend
#elif IS_BIG_ENDIAN && !IS_64_BIT
#error msgbegin --endian big --bitwidth 32 msgend
#elif !IS_BIG_ENDIAN && IS_64_BIT
#error msgbegin --endian little --bitwidth 64 msgend
#else
#error msgbegin --endian little --bitwidth 32 msgend
#endif