Rev 3648 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3648 | Rev 4333 | ||
|---|---|---|---|
| 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 | ||