From 2efa79d3ec0630d6baf1cad13fc8f323d090da61 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 4 Apr 2011 10:24:57 +0000 Subject: Conditionally add available address spaces to the address space enum, for multiple address space architectures. Update Doxygen configuration file for the latest Doxygen release. Minor documentation updates. --- LUFA/Common/Endianness.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'LUFA/Common') 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: */ -- cgit v1.2.3