repo.or.cz
/
pachi
/
t.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
time_left(): Allow time_left==0, stones_left==0 from strange GTP peers
[pachi/t.git]
/
util.h
blob
742fea82c74990268a2250b563daed9e94fca9d1
1
#ifndef ZZGO_UTIL_H
2
#define ZZGO_UTIL_H
3
4
/* Misc. definitions. */
5
6
#define likely(x) __builtin_expect(!!(x), 1)
7
#define unlikely(x) __builtin_expect((x), 0)
8
9
#endif