summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-11 04:42:36 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-11 04:42:36 +0000
commit6bcdf8107dd3f8091aadaa06462cb62cc4a9e590 (patch)
tree0253ae1c65d14c68c91a9868995cd40542e2be35 /include
parent85a056b07157605c8bc15c873bb1a4116e6add60 (diff)
also carefully booleanize the false value
Diffstat (limited to 'include')
-rw-r--r--include/features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/features.h b/include/features.h
index 440718d26..2ab3b6b15 100644
--- a/include/features.h
+++ b/include/features.h
@@ -421,8 +421,8 @@ uClibc was built without large file support enabled.
#if __GNUC__ == 2 && __GNUC_MINOR__ < 96
#define __builtin_expect(x, expected_value) (x)
#endif
-#define likely(x) __builtin_expect((!!(x)),1)
-#define unlikely(x) __builtin_expect((x),0)
+#define likely(x) __builtin_expect((!!(x)),1)
+#define unlikely(x) __builtin_expect((!!(x)),0)
/* --- this is added to integrate linuxthreads */
#define __USE_UNIX98 1