]> source.dussan.org Git - rspamd.git/commitdiff
Another try to fix macro.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Oct 2015 10:44:59 +0000 (11:44 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 15 Oct 2015 10:44:59 +0000 (11:44 +0100)
contrib/libottery/ottery_global.c

index db8d48ac485265bd6b4002e24f2e5ae58b2b9cc1..a1d919885b64bcbcf8eca10e2f5469ff416132f3 100644 (file)
@@ -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. */