summaryrefslogtreecommitdiffstats
path: root/source/cChunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cChunk.h')
-rw-r--r--source/cChunk.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/source/cChunk.h b/source/cChunk.h
index 5bb64697d..fcf258bab 100644
--- a/source/cChunk.h
+++ b/source/cChunk.h
@@ -1,5 +1,14 @@
#pragma once
+#define C_CHUNK_USE_INLINE 1
+
+// Do not touch
+#if C_CHUNK_USE_INLINE
+# define __C_CHUNK_INLINE__ inline
+#else
+# define __C_CHUNK_INLINE__
+#endif
+
#include <list>
namespace Json
@@ -128,4 +137,8 @@ private:
unsigned int m_BlockTickX, m_BlockTickY, m_BlockTickZ;
cCriticalSection* m_EntitiesCriticalSection;
-}; \ No newline at end of file
+};
+
+#if C_CHUNK_USE_INLINE
+# include "cChunk.inl.h"
+#endif \ No newline at end of file