Commit ed436c6f authored by Max Kellermann's avatar Max Kellermann

system/ByteOrder: fix big-endian support

D'oh!
parent ae5dd2da
...@@ -4,6 +4,7 @@ ver 0.18.2 (2013/??/??) ...@@ -4,6 +4,7 @@ ver 0.18.2 (2013/??/??)
* decoder: * decoder:
- dsf: enable DSD128 - dsf: enable DSD128
* fix build failures due to missing includes * fix build failures due to missing includes
* fix big-endian support
ver 0.18.1 (2013/11/04) ver 0.18.1 (2013/11/04)
* protocol: * protocol:
......
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
#define IS_LITTLE_ENDIAN true #define IS_LITTLE_ENDIAN true
#define IS_BIG_ENDIAN false #define IS_BIG_ENDIAN false
#else #else
#define IS_LITTLE_ENDIAN true #define IS_LITTLE_ENDIAN false
#define IS_BIG_ENDIAN false; #define IS_BIG_ENDIAN true
#endif #endif
static inline constexpr bool static inline constexpr bool
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment