projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: Add and use macro MAX().
[cparser]
/
adt
/
util.h
diff --git
a/adt/util.h
b/adt/util.h
index
851855b
..
403a14f
100644
(file)
--- a/
adt/util.h
+++ b/
adt/util.h
@@
-38,4
+38,7
@@
#define endof(x) ((x) + lengthof(x))
#define endof(x) ((x) + lengthof(x))
+#undef MAX
+#define MAX(a, b) ((a) > (b) ? (a) : (b))
+
#endif
#endif