X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcollectd.h;h=7cb405c04bd43d25ec6b807f730419cbf39a93bb;hb=07a084327b6fa7e54a5101f1e9a23fee7e0721ce;hp=4079ad1f2872c4d70aa708f0c523b3aed1f517fb;hpb=2652653c3db161442d28709d79c3f2d81ab571ee;p=collectd.git diff --git a/src/collectd.h b/src/collectd.h index 4079ad1f..7cb405c0 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -258,7 +258,9 @@ 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 /* Remove GNU specific __attribute__ settings when using another compiler */ #if !__GNUC__