--- link-grammar-5.3.11-orig/link-grammar/build-disjuncts.c +++ link-grammar-5.3.11-uclibcng/link-grammar/build-disjuncts.c @@ -159,7 +159,7 @@ static Clause * build_clause(Exp *e) { c = (Clause *) xalloc(sizeof (Clause)); c->cost = c3->cost + c4->cost; - c->maxcost = fmaxf(c3->maxcost,c4->maxcost); + c->maxcost = MAX(c3->maxcost,c4->maxcost); c->c = catenate(c3->c, c4->c); c->next = c_head; c_head = c; --- link-grammar-5.3.11-orig/link-grammar/utilities.h +++ link-grammar-5.3.11-uclibcng/link-grammar/utilities.h @@ -188,10 +188,6 @@ typedef int locale_t; #define STR(x) #x #define STRINGIFY(x) STR(x) -#if defined(__UCLIBC__) -#define fmaxf(a,b) ((a) > (b) ? (a) : (b)) -#endif - #if !defined(MIN) #define MIN(X,Y) ( ((X) < (Y)) ? (X) : (Y)) #endif