]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] added the Linux-style likely/unlikely macros
authorWilly Tarreau <w@1wt.eu>
Sat, 13 Jan 2007 22:06:06 +0000 (23:06 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 13 Jan 2007 22:06:06 +0000 (23:06 +0100)
commit7d58a63071fb8a675275b38a28b7e18c1a9046a5
tree8e078aa938ae68b7eddc498fe0f8ee99588ffefb
parent0f7562b8d3fa7345ff876c6372887b4c56862f27
[MINOR] added the Linux-style likely/unlikely macros

Recent GCC versions support the __builtin_expect() macro which
is undecipherable. Let's use likely()/unlikely() like it's done
in Linux.
include/common/standard.h