X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=confignt%2Fconfig.h;h=7b9d68cda6f84c7dd498dc224756a17c28fd0120;hp=4e4c37c7d6087b1f6b94fbea364daa7fa0d6e605;hb=6533d8056c4251d86582ad7fc4c675067042ca35;hpb=c47bbeca17b665a5f60a1c328be0590a148ea5e8 diff --git a/confignt/config.h b/confignt/config.h index 4e4c37c..7b9d68c 100644 --- a/confignt/config.h +++ b/confignt/config.h @@ -14,3 +14,16 @@ #define rrd_realloc(a,b) realloc((a), (b)) #define snprintf _snprintf +/* Code in rrd_graph.c:rrd_graph_init() uses the %windir% + * environment variable to override this. This should + * avoid the recompile problem if the system directory is + * c:/windows vs. d:/winnt. + * This #define can't be removed because: + * (1) the constant is used outside of rrd_graph_init() to init a struct + * (2) windir might not be available in all environments + */ +#define RRD_DEFAULT_FONT "c:/windows/fonts/cour.ttf" + +#define RRDGRAPH_YLEGEND_ANGLE 90.0 + +#define HAVE_STRING_H 1