src/collectd.h: Define GAUGE_FORMAT.
[collectd.git] / src / collectd.h
index 7cb405c..1b1bc49 100644 (file)
@@ -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;