From: Tobias 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-Tag: 1.3rc8~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7619ef3e9a899aee0a4a37756d7f486890c7d06;p=thirdparty%2Frrdtool-1.x.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/program@1394 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 4a328bdf..53b25be2 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 */