[ create a new paste ] login | about

Link: http://codepad.org/CmjQYvGF    [ raw code | output | fork ]

C, pasted on Mar 13:
1
2
3
4
5
6
7
8
#if GCC
  #define EXPECT(_cond, _expected) __builtin_expect(_cond, _expected)
#else
 #define EXPECT(_cond, _expected) (_cond)
#endif

#define LIKELY(_cond)       EXPECT(_cond, true)
#define UNLIKELY(_cond)     EXPECT(_cond, false)


Output:
1
2
In function `_start':
undefined reference to `main'


Create a new paste based on this one


Comments: