projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
little cleanup
[libfirm]
/
ir
/
common
/
irtools.h
diff --git
a/ir/common/irtools.h
b/ir/common/irtools.h
index
a67d8b9
..
53bbe43
100644
(file)
--- a/
ir/common/irtools.h
+++ b/
ir/common/irtools.h
@@
-20,6
+20,11
@@
lc_opt_entry_t *firm_opt_get_root(void);
#endif
+#undef MIN
+#undef MAX
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
+
/**
* convert an integer into pointer
*/