4 #include "c99_compat.h" /* inline, __func__, etc. */
7 /* XXX: Use standard `inline` keyword instead */
12 /* Function visibility */
14 # if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
15 # define PUBLIC __attribute__((visibility("default")))
16 # elif defined(_MSC_VER)
17 # define PUBLIC __declspec(dllexport)
24 # if defined(__GNUC__)
25 # define likely(x) __builtin_expect(!!(x), 1)
26 # define unlikely(x) __builtin_expect(!!(x), 0)
28 # define likely(x) (x)
29 # define unlikely(x) (x)
33 #endif /* _U_COMPILER_H_ */