~ubuntu-branches/ubuntu/utopic/haproxy/utopic-proposed

« back to all changes in this revision

Viewing changes to include/common/standard.h

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Cornet
  • Date: 2009-02-17 08:55:12 UTC
  • mfrom: (1.1.5 upstream) (2.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090217085512-qmij51nun3rbxorz
Fix build without debian/patches directory (Closes: #515682) using
/usr/share/quilt/quilt.make.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
 * only work with ints and booleans though.
62
62
 */
63
63
#define likely(x) (x)
64
 
#define unlikely(x) (__builtin_expect((x), 0))
 
64
#define unlikely(x) (__builtin_expect((unsigned long)(x), 0))
65
65
#endif
66
66
#endif
67
67