aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 11:44:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 11:44:59 +0100
commit33a845c0edb73b759e7e20c11ea36b2d15353b12 (patch)
tree005e80b80ea7736e17112acb101f11d0c23d012d /contrib
parentdd72c18a0819728368d5fead9d22bd518624ae51 (diff)
downloadrspamd-33a845c0edb73b759e7e20c11ea36b2d15353b12.tar.gz
rspamd-33a845c0edb73b759e7e20c11ea36b2d15353b12.zip
Another try to fix macro.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libottery/ottery_global.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libottery/ottery_global.c b/contrib/libottery/ottery_global.c
index db8d48ac4..a1d919885 100644
--- a/contrib/libottery/ottery_global.c
+++ b/contrib/libottery/ottery_global.c
@@ -24,7 +24,7 @@
#ifdef __GNUC__
#define UNLIKELY(x) __builtin_expect((x), 0)
#else
-#define UNLIKELY(x)
+#define UNLIKELY(x) (x)
#endif
/** Flag: true iff ottery_global_state_ is initialized. */