2012-01-12 03:15:30 -05:00
|
|
|
$OpenBSD: patch-syshead_h,v 1.2 2012/01/12 08:15:30 sthen Exp $
|
|
|
|
--- syshead.h.orig Thu Apr 21 20:13:34 2011
|
|
|
|
+++ syshead.h Mon Jun 20 10:09:54 2011
|
|
|
|
@@ -33,7 +33,7 @@
|
2009-03-08 11:56:52 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* branch prediction hints */
|
|
|
|
-#if defined(__GNUC__)
|
|
|
|
+#if defined(__GNUC__) && __GNUC__ >= 3
|
|
|
|
# define likely(x) __builtin_expect((x),1)
|
|
|
|
# define unlikely(x) __builtin_expect((x),0)
|
|
|
|
#else
|