summaryrefslogtreecommitdiffstats
path: root/src/Endianness.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-26 12:42:42 +0200
committerarchshift <admin@archshift.com>2014-07-26 12:42:42 +0200
commit1595ef73dcd6f6a525744185bd24343c3f8050c8 (patch)
treee0fb726057347d3e24a6470a2fc2609231127aac /src/Endianness.h
parentRemoved the new old-style-cast warning from error treatment (diff)
downloadcuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar
cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.gz
cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.bz2
cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.lz
cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.xz
cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.tar.zst
cuberite-1595ef73dcd6f6a525744185bd24343c3f8050c8.zip
Diffstat (limited to '')
-rw-r--r--src/Endianness.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Endianness.h b/src/Endianness.h
index 5997086e0..9aeb44986 100644
--- a/src/Endianness.h
+++ b/src/Endianness.h
@@ -1,6 +1,7 @@
#pragma once
+#undef ntohll
#define ntohll(x) ((((UInt64)ntohl((u_long)x)) << 32) + ntohl(x >> 32))