summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-29 20:13:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-29 20:53:57 +0300
commit36c45ae7d8d2577a900ec266b64448d4b488013d (patch)
tree419024ce46e507c2abb0578d15d787093556b246 /src/localconsts.h
parent864e023e0faeca5aa662023a54af7e4f9797fafa (diff)
downloadmanaverse-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.gz
manaverse-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.bz2
manaverse-36c45ae7d8d2577a900ec266b64448d4b488013d.tar.xz
manaverse-36c45ae7d8d2577a900ec266b64448d4b488013d.zip
Move cast macroses into separate file.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index e6b455cf6..e416924fe 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -23,15 +23,6 @@
#define ENABLEDEBUGLOG 1
-#define CAST_8 static_cast<char>
-#define CAST_S8 static_cast<int8_t>
-#define CAST_U8 static_cast<uint8_t>
-#define CAST_S16 static_cast<int16_t>
-#define CAST_U16 static_cast<uint16_t>
-#define CAST_S32 static_cast<int32_t>
-#define CAST_U32 static_cast<uint32_t>
-#define CAST_SIZE static_cast<size_t>
-
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)