summaryrefslogtreecommitdiffstats
path: root/source/include/debug.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-28 00:12:14 +0100
committerVolker Lendecke <vl@samba.org>2007-12-28 00:12:14 +0100
commit1e07368b5f96e4ada622682e38d260eb0c6185f2 (patch)
treec8bda90ebc51d01a57dbe783e89bd1573520a7bb /source/include/debug.h
parentef75dcc9ffda85d77c8f22d0db702efbf8e642ed (diff)
downloadsamba-1e07368b5f96e4ada622682e38d260eb0c6185f2.tar.gz
samba-1e07368b5f96e4ada622682e38d260eb0c6185f2.tar.xz
samba-1e07368b5f96e4ada622682e38d260eb0c6185f2.zip
Fix the non-gcc branch of "likely"
Diffstat (limited to 'source/include/debug.h')
-rw-r--r--source/include/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/debug.h b/source/include/debug.h
index 41d1c82366a..284671c730f 100644
--- a/source/include/debug.h
+++ b/source/include/debug.h
@@ -172,8 +172,8 @@ extern bool *DEBUGLEVEL_CLASS_ISSET;
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#else
-#define likely(x) x
-#define unlikely(x) x
+#define likely(x) (x)
+#define unlikely(x) (x)
#endif
#define DEBUGLVL( level ) \