projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* replaced strtok with strtok_r for thread safety
[rrdtool.git]
/
src
/
rrd.h
diff --git
a/src/rrd.h
b/src/rrd.h
index
e53751d
..
978ad1c
100644
(file)
--- a/
src/rrd.h
+++ b/
src/rrd.h
@@
-57,6
+57,21
@@
extern "C" {
#include <time.h>
#include <stdio.h> /* for FILE */
#include <time.h>
#include <stdio.h> /* for FILE */
+
+/* Formerly rrd_nan_inf.h */
+#ifndef DNAN
+# define DNAN set_to_DNAN()
+#endif
+
+#ifndef DINF
+# define DINF set_to_DINF()
+#endif
+ double set_to_DNAN(
+ void);
+ double set_to_DINF(
+ void);
+/* end of rrd_nan_inf.h */
+
/* Transplanted from rrd_format.h */
typedef double rrd_value_t; /* the data storage type is
* double */
/* Transplanted from rrd_format.h */
typedef double rrd_value_t; /* the data storage type is
* double */