X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_config_bottom.h;h=e7d0a38f6d1d8f28c5bcf49697de165ddf87782d;hb=a8f63ee4c8e78a3fd998038e8912839c29343a56;hp=90ecc8e9f2b45a03200554dd0cbb97cd101b41ae;hpb=bbee4e31db966702d6fa3d7f4907b14aa1cb5aba;p=rrdtool.git diff --git a/src/rrd_config_bottom.h b/src/rrd_config_bottom.h index 90ecc8e..e7d0a38 100644 --- a/src/rrd_config_bottom.h +++ b/src/rrd_config_bottom.h @@ -178,6 +178,11 @@ char *strchr (), *strrchr (); # define isinf(a) (fpclass(a) == FP_NINF || fpclass(a) == FP_PINF) #endif +/* solaris 8/9 has rint but not round */ +#if (! defined(HAVE_ROUND) && defined(HAVE_RINT)) +# define round rint +#endif + /* solaris 10 it defines isnan such that only forte can compile it ... bad bad */ #if (defined(HAVE_ISNAN) && defined(isnan) && defined(HAVE_FPCLASS)) # undef isnan