Fix AIX build problems (Bugs #1020, 1102, 1103, Dan McNichol).

Remove old config files (Bug #1123, Jim Gettys).
Remove old log message (Bug #1123, Jim Gettys).
This commit is contained in:
Kevin E Martin
2004-08-18 18:41:41 +00:00
parent a45bc0df7a
commit 9223baf985
3 changed files with 5 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ RenderSampleCeilY (xFixed y, int n)
return (i | f);
}
#define div(a,b) ((a) >= 0 ? (a) / (b) : -((-(a) + (b) - 1) / (b)))
#define _div(a,b) ((a) >= 0 ? (a) / (b) : -((-(a) + (b) - 1) / (b)))
/*
* Compute the largest value no greater than y which is on a
@@ -56,7 +56,7 @@ RenderSampleFloorY (xFixed y, int n)
xFixed f = xFixedFrac(y);
xFixed i = xFixedFloor (y);
f = div(f - Y_FRAC_FIRST(n), STEP_Y_SMALL(n)) * STEP_Y_SMALL(n) + Y_FRAC_FIRST(n);
f = _div(f - Y_FRAC_FIRST(n), STEP_Y_SMALL(n)) * STEP_Y_SMALL(n) + Y_FRAC_FIRST(n);
if (f < Y_FRAC_FIRST(n))
{
f = Y_FRAC_LAST(n);