projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config.h include added
[libfirm]
/
ir
/
be
/
bechordal_draw.c
diff --git
a/ir/be/bechordal_draw.c
b/ir/be/bechordal_draw.c
index
10a734f
..
3ded8be
100644
(file)
--- a/
ir/be/bechordal_draw.c
+++ b/
ir/be/bechordal_draw.c
@@
-9,6
+9,9
@@
* Copyright (C) 2005 Universitaet Karlsruhe
* Released under the GPL
*/
* Copyright (C) 2005 Universitaet Karlsruhe
* Released under the GPL
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <limits.h>
#include <limits.h>
@@
-174,11
+177,13
@@
struct block_dims {
rect_t subtree_box;
};
rect_t subtree_box;
};
+#undef min
static INLINE int min(int a, int b)
{
return a < b ? a : b;
}
static INLINE int min(int a, int b)
{
return a < b ? a : b;
}
+#undef max
static INLINE int max(int a, int b)
{
return a > b ? a : b;
static INLINE int max(int a, int b)
{
return a > b ? a : b;