X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.h;h=1b1bc49e1bfefaef7fe706d58fc96c0fe0f0788e;hb=21ba59f8197dba0a72dbf5186bc0a5d7e5074496;hp=7cb405c04bd43d25ec6b807f730419cbf39a93bb;hpb=d1483d2e2a9116c233aeaceba99fa58a7e6bdc87;p=collectd.git diff --git a/src/collectd.h b/src/collectd.h index 7cb405c0..1b1bc49e 100644 --- a/src/collectd.h +++ b/src/collectd.h @@ -287,6 +287,10 @@ typedef int _Bool; # endif #endif +#ifndef GAUGE_FORMAT +# define GAUGE_FORMAT "%.15g" +#endif + /* Type for time as used by "utils_time.h" */ typedef uint64_t cdtime_t;