X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fbechordal_draw.c;h=3ded8becd7a3305d6421519cc5e60a0be02cee8f;hb=cedfd6069b7006912ff1c8e90f7445e7703cd675;hp=10a734f839f2475d344fbf6acbe579a280138eef;hpb=e0fca6f42b589f20a5b996a57d2dd94aa02f1094;p=libfirm diff --git a/ir/be/bechordal_draw.c b/ir/be/bechordal_draw.c index 10a734f83..3ded8becd 100644 --- 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 */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include @@ -174,11 +177,13 @@ struct block_dims { rect_t subtree_box; }; +#undef min 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;