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 #414 from kri5/master
[collectd.git]
/
src
/
collectd.h
diff --git
a/src/collectd.h
b/src/collectd.h
index
4079ad1
..
969aeda
100644
(file)
--- a/
src/collectd.h
+++ b/
src/collectd.h
@@
-258,7
+258,13
@@
typedef int _Bool;
# define COLLECTD_GRP_NAME "collectd"
#endif
# define COLLECTD_GRP_NAME "collectd"
#endif
-#define STATIC_ARRAY_LEN(array) (sizeof (array) / sizeof ((array)[0]))
+#ifndef COLLECTD_DEFAULT_INTERVAL
+# define COLLECTD_DEFAULT_INTERVAL 10.0
+#endif
+
+ #ifndef COLLECTD_USERAGENT
+ # define COLLECTD_USERAGENT PACKAGE_NAME"/"PACKAGE_VERSION
+ #endif
/* Remove GNU specific __attribute__ settings when using another compiler */
#if !__GNUC__
/* Remove GNU specific __attribute__ settings when using another compiler */
#if !__GNUC__