summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-14 15:37:01 +0100
committerMattes D <github@xoft.cz>2014-03-14 15:37:01 +0100
commitadf5a6074684428a4519bd2b88193e57d211ddec (patch)
tree843befcb9e8f3b8d207924c8e1566bbfcf778a05 /src
parentMerge pull request #798 from worktycho/warnings (diff)
parentFixed a couple of missing defs (diff)
downloadcuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.gz
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.bz2
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.lz
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.xz
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.tar.zst
cuberite-adf5a6074684428a4519bd2b88193e57d211ddec.zip
Diffstat (limited to '')
-rw-r--r--src/BoundingBox.cpp2
-rw-r--r--src/CompositeChat.cpp2
-rw-r--r--src/Noise.cpp8
3 files changed, 2 insertions, 10 deletions
diff --git a/src/BoundingBox.cpp b/src/BoundingBox.cpp
index aab51c539..482f9923f 100644
--- a/src/BoundingBox.cpp
+++ b/src/BoundingBox.cpp
@@ -10,7 +10,7 @@
-#if SELF_TEST
+#ifdef SELF_TEST
/** A simple self-test that is executed on program start, used to verify bbox functionality */
static class SelfTest_BoundingBox
diff --git a/src/CompositeChat.cpp b/src/CompositeChat.cpp
index 19ed30d78..a917ee70f 100644
--- a/src/CompositeChat.cpp
+++ b/src/CompositeChat.cpp
@@ -10,7 +10,7 @@
-#if SELF_TEST
+#ifdef SELF_TEST
/** A simple self-test that verifies that the composite chat parser is working properly. */
class SelfTest_CompositeChat
diff --git a/src/Noise.cpp b/src/Noise.cpp
index 5f23a47f9..a97ea70c6 100644
--- a/src/Noise.cpp
+++ b/src/Noise.cpp
@@ -3,14 +3,6 @@
#include "Noise.h"
-
-
-
-
-#if NOISE_USE_SSE
- #include <smmintrin.h> //_mm_mul_epi32
-#endif
-
#define FAST_FLOOR(x) (((x) < 0) ? (((int)x) - 1) : ((int)x))