From: oetiker Date: Mon, 2 Jun 2008 06:21:42 +0000 (+0000) Subject: use DNAN instead of NAN since there seem to be issues with gcc on solaris and the... X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=748c2decf31d913d0526060f7ac7ae7f43af264b;hp=074aa84b2d837ae1af91661e82333ffee2f60a2d use DNAN instead of NAN since there seem to be issues with gcc on solaris and the NAN experession (and we use DNAN everywhere else anyway). git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1394 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 4a328bd..53b25be 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -163,7 +163,7 @@ static int value_check_range( if (((!isnan(min)) && (*rrd_value < min)) || ((!isnan(max)) && (*rrd_value > max))) - *rrd_value = NAN; + *rrd_value = DNAN; return (0); } /* int value_check_range */