summaryrefslogtreecommitdiffstats
path: root/src/Defines.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-02-10 17:46:42 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-02-11 02:24:50 +0100
commit6aa1d13508fb851e576eac4120b000e06d1a3101 (patch)
tree5ef260cf99dae038051f7284dcb86a721d5fa408 /src/Defines.h
parentFix march=native not being enabled (diff)
downloadcuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.gz
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.bz2
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.lz
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.xz
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.tar.zst
cuberite-6aa1d13508fb851e576eac4120b000e06d1a3101.zip
Diffstat (limited to '')
-rw-r--r--src/Defines.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Defines.h b/src/Defines.h
index 6c6eea323..fb3231ff2 100644
--- a/src/Defines.h
+++ b/src/Defines.h
@@ -12,16 +12,9 @@ typedef std::vector<int> cSlotNums;
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wmissing-variable-declarations"
-#endif
/** Constant to calculate ticks from seconds "ticks per second" */
constexpr inline const int TPS = 20;
// This is not added to the lua API because it broke the build
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif