diff options
-rw-r--r-- | firmware/include/rbendian.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/include/rbendian.h b/firmware/include/rbendian.h index 7b666eca56..8adcb544f9 100644 --- a/firmware/include/rbendian.h +++ b/firmware/include/rbendian.h | |||
@@ -95,13 +95,11 @@ | |||
95 | #define __swap16_os(x) swap16(x) | 95 | #define __swap16_os(x) swap16(x) |
96 | #define __swap32_os(x) swap32(x) | 96 | #define __swap32_os(x) swap32(x) |
97 | #define __swap64_os(x) swap64(x) | 97 | #define __swap64_os(x) swap64(x) |
98 | #elif defined (__MINGW32__) || (CONFIG_PLATFORM & PLATFORM_MAEMO) | 98 | #else |
99 | /* kinda hacky but works */ | 99 | /* kinda hacky but works */ |
100 | #define __swap16_os(x) SWAP16_CONST(x) | 100 | #define __swap16_os(x) SWAP16_CONST(x) |
101 | #define __swap32_os(x) SWAP32_CONST(x) | 101 | #define __swap32_os(x) SWAP32_CONST(x) |
102 | #define __swap64_os(x) SWAP64_CONST(x) | 102 | #define __swap64_os(x) SWAP64_CONST(x) |
103 | #else | ||
104 | #error "Missing OS swap defines." | ||
105 | #endif | 103 | #endif |
106 | 104 | ||
107 | /* wrap these because they aren't always compatible with compound initializers */ | 105 | /* wrap these because they aren't always compatible with compound initializers */ |