Use __builtin_expect even outside glibc if gcc 3 is used.
authordrepper <drepper>
Thu, 19 Dec 2002 09:11:25 +0000 (09:11 +0000)
committerdrepper <drepper>
Thu, 19 Dec 2002 09:11:25 +0000 (09:11 +0000)
posix/regex.c

index 1d5dd0f..8557094 100644 (file)
@@ -41,7 +41,7 @@
 #  define re_compile_fastmap(bufp) __re_compile_fastmap (bufp)
 #endif
 
-#if _LIBC || __GNUC__ >= 3
+#if __GNUC__ >= 3
 # define BE(expr, val) __builtin_expect (expr, val)
 #else
 # define BE(expr, val) (expr)