RPM Community Forums

Mailing List Message of <popt-devel>

portability: _ABS() and DBL_EPSILON

From: Wayne Davison <wayned@samba.org>
Date: Sun 09 Mar 2008 - 05:34:17 CET
Message-ID: <20080309043417.GB22877@herod.dreamhost.com>
There are some UNIX systems that have their own _ABS() define in the
system header files, so the redefinition of _ABS() in popt.c can cause
problems.  I changed the define to be POPT_ABS().  Also, some systems
don't seem to have DBL_EPSILON, so I define that if it is missing.
See attached patch.


Received on Sun Mar 9 05:34:20 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.