summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-30 14:07:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-30 14:07:19 +0300
commitc51f5a671e5fc6b78e57df46daf0fdba319dadf7 (patch)
tree308e6d6aa84eaccdfe2f2fc036b9a5d8a9a4be77 /src/localconsts.h
parent38419eeb9df6a8778c292e219a3667bd5ebd4680 (diff)
downloadmanaverse-c51f5a671e5fc6b78e57df46daf0fdba319dadf7.tar.gz
manaverse-c51f5a671e5fc6b78e57df46daf0fdba319dadf7.tar.bz2
manaverse-c51f5a671e5fc6b78e57df46daf0fdba319dadf7.tar.xz
manaverse-c51f5a671e5fc6b78e57df46daf0fdba319dadf7.zip
Move likely macroses into separate file.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 64db7f7fb..e669f259b 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -286,14 +286,6 @@
#endif // ENABLE_CILKPLUS
#endif // __GNUC__
-#ifdef __GNUC__
-#define A_LIKELY(x) __builtin_expect (!!(x), 1)
-#define A_UNLIKELY(x) __builtin_expect (!!(x), 0)
-#else // __GNUC__
-#define A_LIKELY(x) (x)
-#define A_UNLIKELY(x) (x)
-#endif // __GNUC__
-
#define notfinal
#ifdef ENABLE_CHECKPLUGIN