system/ByteOrder: fix big-endian support

D'oh!
This commit is contained in:
Max Kellermann 2013-11-05 22:08:53 +01:00
parent ae5dd2da4f
commit ed436c6f0c
2 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -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:

View File

@ -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