aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-21 23:04:31 +0100
committerMax Kellermann <max@duempel.org>2013-11-21 23:04:31 +0100
commit3a4df25db239bbd998a9bf5825567f7e46b7b04c (patch)
tree8fbd7cf2d07e9158e9692839a7cde794cd02b9ef /src
parent37cf78ef456f455d1fb69231a88d8dc3e2b93242 (diff)
downloadmpd-3a4df25db239bbd998a9bf5825567f7e46b7b04c.tar.gz
mpd-3a4df25db239bbd998a9bf5825567f7e46b7b04c.tar.xz
mpd-3a4df25db239bbd998a9bf5825567f7e46b7b04c.zip
util/ByteOrder: add comments
Diffstat (limited to 'src')
-rw-r--r--src/system/ByteOrder.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/system/ByteOrder.hxx b/src/system/ByteOrder.hxx
index de8991bdb..2124e92db 100644
--- a/src/system/ByteOrder.hxx
+++ b/src/system/ByteOrder.hxx
@@ -33,9 +33,11 @@
#include <stdint.h>
#if defined(__i386__) || defined(__x86_64__) || defined(__ARMEL__)
+/* well-known little-endian */
# define IS_LITTLE_ENDIAN true
# define IS_BIG_ENDIAN false
#else
+/* well-known big-endian */
# define IS_LITTLE_ENDIAN false
# define IS_BIG_ENDIAN true
#endif