X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_config_bottom.h;fp=src%2Frrd_config_bottom.h;h=e7d0a38f6d1d8f28c5bcf49697de165ddf87782d;hp=90ecc8e9f2b45a03200554dd0cbb97cd101b41ae;hb=d372ef83ee1b95f5263f80258b1cb750249ea89f;hpb=bbee4e31db966702d6fa3d7f4907b14aa1cb5aba 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