summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-12-04 19:57:23 +0100
committerAlexander Harkness <bearbin@gmail.com>2013-12-04 19:57:23 +0100
commit9f1efbdf21255643e29566d7656d3f15555c7b70 (patch)
treeb43f006ce71ef9a8dc2df034cab230c75571f17f /src/ByteBuffer.cpp
parentLava can spawn fire. (diff)
downloadcuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.tar
cuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.tar.gz
cuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.tar.bz2
cuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.tar.lz
cuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.tar.xz
cuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.tar.zst
cuberite-9f1efbdf21255643e29566d7656d3f15555c7b70.zip
Diffstat (limited to '')
-rw-r--r--src/ByteBuffer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp
index a6be09ad3..29f3afbfc 100644
--- a/src/ByteBuffer.cpp
+++ b/src/ByteBuffer.cpp
@@ -26,7 +26,9 @@
(defined(_WIN32) && defined(__ARM__) && defined(_MSC_VER)) \
)
#define IS_LITTLE_ENDIAN
-#elif defined (__ARMEB__)
+#elif ( \
+ defined (__ARMEB__) || defined(__sparc) \
+)
#define IS_BIG_ENDIAN
#else
#error Cannot determine endianness of this platform