X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/06d00bb99b5dd948c9407884cc07d1e82ea6878a..2efa79d3ec0630d6baf1cad13fc8f323d090da61:/LUFA/Common/Endianness.h diff --git a/LUFA/Common/Endianness.h b/LUFA/Common/Endianness.h index d7f73ca69..f7bc33677 100644 --- a/LUFA/Common/Endianness.h +++ b/LUFA/Common/Endianness.h @@ -60,6 +60,10 @@ #if !defined(__INCLUDE_FROM_COMMON_H) #error Do not include this file directly. Include LUFA/Common/Common.h instead to gain this functionality. #endif + + #if !(defined(ARCH_BIG_ENDIAN) || defined(ARCH_LITTLE_ENDIAN)) + #error ARCH_BIG_ENDIAN or ARCH_LITTLE_ENDIAN not set for the specified architecture. + #endif /* Public Interface - May be used in end-application: */ /* Macros: */