mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 10:21:01 +03:00
7c36a9e24a
Those macros are also defined by the compiler-provided float.h which will be included later on (at least in the FreeBSD buildworld case) and triggers these -Werror warnings. Including <float.h> first and only defining the macros when DBL_DIG/FLT_DIG is missing fixes this problem. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> Closes #10864 |
||
---|---|---|
.. | ||
ia32 | ||
os | ||
rpc | ||
sys | ||
util | ||
assert.h | ||
atomic.h | ||
libdevinfo.h | ||
libgen.h | ||
libshare.h | ||
limits.h | ||
locale.h | ||
Makefile.am | ||
statcommon.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
stropts.h | ||
thread.h | ||
tzfile.h | ||
ucred.h | ||
umem.h | ||
unistd.h | ||
zone.h |