Conditionally add available address spaces to the address space enum, for multiple...
[pub/USBasp.git] / LUFA / Common / Endianness.h
index d7f73ca..f7bc336 100644 (file)
                #if !defined(__INCLUDE_FROM_COMMON_H)\r
                        #error Do not include this file directly. Include LUFA/Common/Common.h instead to gain this functionality.\r
                #endif\r
+               \r
+               #if !(defined(ARCH_BIG_ENDIAN) || defined(ARCH_LITTLE_ENDIAN))\r
+                       #error ARCH_BIG_ENDIAN or ARCH_LITTLE_ENDIAN not set for the specified architecture.\r
+               #endif\r
 \r
        /* Public Interface - May be used in end-application: */\r
                /* Macros: */\r