Explorar o código

An even simpler likely

Eric Andersen %!s(int64=22) %!d(string=hai) anos
pai
achega
2770a21e74
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/features.h

+ 1 - 1
include/features.h

@@ -422,7 +422,7 @@ uClibc was built without large file support enabled.
 #define __builtin_expect(x, expected_value) (x)
 #endif
 
-#define likely(x)		__builtin_expect(!!((int)(x)),1)
+#define likely(x)		__builtin_expect(!((int)(x)),0)
 #define unlikely(x)		__builtin_expect(((int)(x)),0)
 
 /* --- this is added to integrate linuxthreads */