Rev 3675 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3675 | Rev 4377 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | #ifndef KERN_BYTEORDER_H_ |
35 | #ifndef KERN_BYTEORDER_H_ |
36 | #define KERN_BYTEORDER_H_ |
36 | #define KERN_BYTEORDER_H_ |
37 | 37 | ||
38 | #include <arch/byteorder.h> |
38 | #include <arch/byteorder.h> |
- | 39 | #include <arch/types.h> |
|
39 | 40 | ||
40 | #if !(defined(ARCH_IS_BIG_ENDIAN) ^ defined(ARCH_IS_LITTLE_ENDIAN)) |
41 | #if !(defined(ARCH_IS_BIG_ENDIAN) ^ defined(ARCH_IS_LITTLE_ENDIAN)) |
41 | #error The architecture must be either big-endian or little-endian. |
42 | #error The architecture must be either big-endian or little-endian. |
42 | #endif |
43 | #endif |
43 | 44 |