From 1cb5d2e01a756ed1d7d10c0e0c70849b0d19fac9 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Mon, 8 Dec 2003 17:26:59 +0000 Subject: some changes for SOLO build --- src/mesa/drivers/dri/ffb/ffb_bitmap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers/dri/ffb/ffb_bitmap.c') diff --git a/src/mesa/drivers/dri/ffb/ffb_bitmap.c b/src/mesa/drivers/dri/ffb/ffb_bitmap.c index 8c94bde36fa..7263e838134 100644 --- a/src/mesa/drivers/dri/ffb/ffb_bitmap.c +++ b/src/mesa/drivers/dri/ffb/ffb_bitmap.c @@ -33,6 +33,9 @@ #include "image.h" #include "macros.h" +/* Compute ceiling of integer quotient of A divided by B: */ +#define CEILING( A, B ) ( (A) % (B) == 0 ? (A)/(B) : (A)/(B)+1 ) + #undef FFB_BITMAP_TRACE static void -- cgit v1.2.3