projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1575 from rubenk/dragonflybsd-utils-mount
[collectd.git]
/
src
/
collectd.h
diff --git
a/src/collectd.h
b/src/collectd.h
index
c0994d1
..
1b1bc49
100644
(file)
--- a/
src/collectd.h
+++ b/
src/collectd.h
@@
-262,8
+262,6
@@
typedef int _Bool;
# define COLLECTD_DEFAULT_INTERVAL 10.0
#endif
# define COLLECTD_DEFAULT_INTERVAL 10.0
#endif
-#define STATIC_ARRAY_LEN(array) (sizeof (array) / sizeof ((array)[0]))
-
/* Remove GNU specific __attribute__ settings when using another compiler */
#if !__GNUC__
# define __attribute__(x) /**/
/* Remove GNU specific __attribute__ settings when using another compiler */
#if !__GNUC__
# define __attribute__(x) /**/
@@
-289,6
+287,10
@@
typedef int _Bool;
# endif
#endif
# endif
#endif
+#ifndef GAUGE_FORMAT
+# define GAUGE_FORMAT "%.15g"
+#endif
+
/* Type for time as used by "utils_time.h" */
typedef uint64_t cdtime_t;
/* Type for time as used by "utils_time.h" */
typedef uint64_t cdtime_t;