From 748c2decf31d913d0526060f7ac7ae7f43af264b Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 2 Jun 2008 06:21:42 +0000 Subject: [PATCH] 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 --- src/rrd_restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2