aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/ByteOrder.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-05 22:08:53 +0100
committerMax Kellermann <max@duempel.org>2013-11-05 22:08:53 +0100
commited436c6f0c5d3c3d8d4b89ffc74655c7b872f0c0 (patch)
treecd999929fd915f54e9ebb64be35268b0d210d294 /src/system/ByteOrder.hxx
parentae5dd2da4fa695a19032136a845ea43e7c105bff (diff)
downloadmpd-ed436c6f0c5d3c3d8d4b89ffc74655c7b872f0c0.tar.gz
mpd-ed436c6f0c5d3c3d8d4b89ffc74655c7b872f0c0.tar.xz
mpd-ed436c6f0c5d3c3d8d4b89ffc74655c7b872f0c0.zip
system/ByteOrder: fix big-endian support
D'oh!
Diffstat (limited to '')
-rw-r--r--src/system/ByteOrder.hxx4
1 files changed, 2 insertions, 2 deletions
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