projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Conditionally add available address spaces to the address space enum, for multiple...
[pub/lufa.git]
/
LUFA
/
Common
/
Endianness.h
diff --git
a/LUFA/Common/Endianness.h
b/LUFA/Common/Endianness.h
index
d7f73ca
..
f7bc336
100644
(file)
--- a/
LUFA/Common/Endianness.h
+++ b/
LUFA/Common/Endianness.h
@@
-60,6
+60,10
@@
#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
#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
\r
/* Public Interface - May be used in end-application: */
\r
/* Macros: */
\r