> #define CEIL(x) ((int)(x) + ((x) > 0)) Wow, good solution. The only problem I can see is the return type, that in your solution is integer. I think it is not a big problem because this value will be used in some expression where the type convertion will be done.
The original author of the commit was Eric Pruitt, so if he send again the patch with this version of CEIL I will commit it. Regards, -- Roberto E. Vargas Caballero