summaryrefslogtreecommitdiff
path: root/source3/include
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
commit94ee39c23f6e4a8c31701240795c288299d6bb08 (patch)
tree1f9eb755508f5ba63dbf59026cd3b327fa20bcc2 /source3/include
parente9b8eb14468c37e772476f6d32188d6e85c2083c (diff)
downloadsamba-94ee39c23f6e4a8c31701240795c288299d6bb08.tar.gz
samba-94ee39c23f6e4a8c31701240795c288299d6bb08.tar.bz2
samba-94ee39c23f6e4a8c31701240795c288299d6bb08.zip
Fix the non-gcc branch of "likely"
(This used to be commit 1e07368b5f96e4ada622682e38d260eb0c6185f2)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h
index 41d1c82366..284671c730 100644
--- a/source3/include/debug.h
+++ b/source3/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 ) \