On Sun, May 15, 2005 at 08:04:52PM -0400, Charles Lepple wrote: > On 5/15/05, Hamish Moffatt <[EMAIL PROTECTED]> wrote: > > On Sun, May 15, 2005 at 07:51:57PM -0400, Charles Lepple wrote: > > > Looks like Debian's patch file removes the redefinition entirely > > > (Debian bug #294319), but the above patch should detect whether or not > > > abs() is available. > > > > We can afford to do that on Debian because our source only needs to > > compile on non-braindead systems... However a better fix is probably > > needed for upstream. > > Just an observation-- didn't mean to make it sound like I was knocking > Debian's patch.
No, that's fine. > > Having said that, which system does not have abs()? > > I don't know specifically, but the OS X man page says it conforms to > C99. Maybe it wasn't part of C89. On Debian the manpage says abs() was in C89, but some of the variants described in the same manual page were added in C99. Hamish -- Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>