Using *round* math functions on 4.x
amdmi3 at mail.ru
Mon Mar 6 03:38:51 PST 2006
I wonder if there is clear way to make FreeBSD 4.x compatible ports
of software which uses *round* (round, lround, lroundf etc.) functions.
Math.h in 4.x doesn't seem to have these functions, and I am not sure if
#define implementations I usually include as patches are safe.
Maybe there's some library that may be conditially used on specific
$OSVERSION (like it's done with gnugetopt and USE_GETOPT_LONG)? Or
there's example of correct and safe #define implrementation?
Dmitry mailto:amdmi3 at mail.ru
More information about the freebsd-ports