Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 632650
Collapse All | Expand All

(-)file_not_specified_in_diff (-7 / +3 lines)
Line  Link Here
0
-- link-grammar-5.3.11-orig/link-grammar/build-disjuncts.c
0
++ link-grammar-5.3.11-uclibcng/link-grammar/build-disjuncts.c
Lines 159-165 static Clause * build_clause(Exp *e) Link Here
159
				{
159
				{
160
					c = (Clause *) xalloc(sizeof (Clause));
160
					c = (Clause *) xalloc(sizeof (Clause));
161
					c->cost = c3->cost + c4->cost;
161
					c->cost = c3->cost + c4->cost;
162
					c->maxcost = fmaxf(c3->maxcost,c4->maxcost);
162
					c->maxcost = MAX(c3->maxcost,c4->maxcost);
163
					c->c = catenate(c3->c, c4->c);
163
					c->c = catenate(c3->c, c4->c);
164
					c->next = c_head;
164
					c->next = c_head;
165
					c_head = c;
165
					c_head = c;
166
-- link-grammar-5.3.11-orig/link-grammar/utilities.h
166
++ link-grammar-5.3.11-uclibcng/link-grammar/utilities.h
Lines 188-197 typedef int locale_t; Link Here
188
#define STR(x) #x
188
#define STR(x) #x
189
#define STRINGIFY(x) STR(x)
189
#define STRINGIFY(x) STR(x)
190
190
191
#if defined(__UCLIBC__)
192
#define fmaxf(a,b) ((a) > (b) ? (a) : (b))
193
#endif
194
195
#if !defined(MIN)
191
#if !defined(MIN)
196
#define MIN(X,Y)  ( ((X) < (Y)) ? (X) : (Y))
192
#define MIN(X,Y)  ( ((X) < (Y)) ? (X) : (Y))
197
#endif
193
#endif

Return to bug 632650