summaryrefslogtreecommitdiffstats
path: root/source/NBT.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-09 10:39:48 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-09 10:39:48 +0100
commit11810e05e40e24de14a3f0213f978853ba632e9f (patch)
treec478b4c6fd42bb9cd838ced889d27a6c1c16fb8c /source/NBT.cpp
parentAdded NBT example dumps for reference (diff)
downloadcuberite-11810e05e40e24de14a3f0213f978853ba632e9f.tar
cuberite-11810e05e40e24de14a3f0213f978853ba632e9f.tar.gz
cuberite-11810e05e40e24de14a3f0213f978853ba632e9f.tar.bz2
cuberite-11810e05e40e24de14a3f0213f978853ba632e9f.tar.lz
cuberite-11810e05e40e24de14a3f0213f978853ba632e9f.tar.xz
cuberite-11810e05e40e24de14a3f0213f978853ba632e9f.tar.zst
cuberite-11810e05e40e24de14a3f0213f978853ba632e9f.zip
Diffstat (limited to 'source/NBT.cpp')
-rw-r--r--source/NBT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/NBT.cpp b/source/NBT.cpp
index c600a1868..928ef8080 100644
--- a/source/NBT.cpp
+++ b/source/NBT.cpp
@@ -622,7 +622,7 @@ cNBTTree * cNBTParser::Parse(const char * a_Data, int a_Length)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Dumping the NBT tree (debug-only)
-#ifdef _DEBUG
+#if (defined(_DEBUG) && defined(_WIN32))
#define CASE_SIMPLE_TAG(TYPE,FMT) \
case cNBTTag::TAG_##TYPE: \
@@ -696,7 +696,7 @@ void DumpTree(const cNBTTree * a_Tree, int a_Level)
#undef CASE_SIMPLE_TAG
-#endif // _DEBUG
+#endif // (_DEBUG && _WIN32)