From ed436c6f0c5d3c3d8d4b89ffc74655c7b872f0c0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 5 Nov 2013 22:08:53 +0100 Subject: system/ByteOrder: fix big-endian support D'oh! --- src/system/ByteOrder.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/system') diff --git a/src/system/ByteOrder.hxx b/src/system/ByteOrder.hxx index a070cd5d0..622003254 100644 --- a/src/system/ByteOrder.hxx +++ b/src/system/ByteOrder.hxx @@ -36,8 +36,8 @@ #define IS_LITTLE_ENDIAN true #define IS_BIG_ENDIAN false #else -#define IS_LITTLE_ENDIAN true -#define IS_BIG_ENDIAN false; +#define IS_LITTLE_ENDIAN false +#define IS_BIG_ENDIAN true #endif static inline constexpr bool -- cgit v1.2.3