diff options
author | Kevin E Martin <kem@kem.org> | 2004-08-18 18:41:41 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2004-08-18 18:41:41 +0000 |
commit | 9223baf985778c536ce93846c431b46a0192cf32 (patch) | |
tree | 9bbd1c7b37f20da7cf48c213ee48eb3c2c5aff3e /render | |
parent | a45bc0df7a1c369e8429e84414ac813187c90059 (diff) |
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).
Diffstat (limited to 'render')
-rw-r--r-- | render/renderedge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/renderedge.c b/render/renderedge.c index f9518b671..b84eec14d 100644 --- a/render/renderedge.c +++ b/render/renderedge.c @@ -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); |