X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.h;h=969aedaa483c0f1bddcfe7baa2052096c05cc783;hb=17b41fb42949c28a7312fe211226e948af456b94;hp=4079ad1f2872c4d70aa708f0c523b3aed1f517fb;hpb=d19bcbf5c310f3656503e64ba26829256112ded4;p=collectd.git diff --git a/src/collectd.h b/src/collectd.h index 4079ad1f..969aedaa 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -258,7 +258,13 @@ typedef int _Bool; # 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__