Alan Coopersmith <alan.coopersm...@oracle.com> writes: > Long long ago, the xserver's include/misc.h had: > #define abs(a) ((a) > 0 ? (a) : -(a)) > which worked for code like this, but git history says that was removed in > XFree86 4.3.0.1 (commit d568221710959cf in the current xserver git repo) > and we've just been sloppy ever since.
I'm pretty sure that macro was written before there was an int abs(int i) function in libc. Nice catch Jeremy. -- -keith
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel