aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/ByteOrder.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/system/ByteOrder.hxx')
-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