Distributed engine: resend only partial command history when possible.
[pachi.git] / util.h
blob742fea82c74990268a2250b563daed9e94fca9d1
1 #ifndef ZZGO_UTIL_H
2 #define ZZGO_UTIL_H
4 /* Misc. definitions. */
6 #define likely(x) __builtin_expect(!!(x), 1)
7 #define unlikely(x) __builtin_expect((x), 0)
9 #endif