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.tokkee.org/?a=commitdiff_plain;h=3e45743e9d61ebc5e7ef50ec89755a4af2828723;p=rrdtool-all.git 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@1394 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_restore.c b/program/src/rrd_restore.c index 4a328bdf..53b25be2 100644 --- a/program/src/rrd_restore.c +++ b/program/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 */