X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=confignt%2Fconfig.h;h=7b9d68cda6f84c7dd498dc224756a17c28fd0120;hp=261f0e613e107e0069a10d78654961ae5c1157cd;hb=6533d8056c4251d86582ad7fc4c675067042ca35;hpb=3a4825306f808c36fb2c529f27c5457a0715dfaf diff --git a/confignt/config.h b/confignt/config.h index 261f0e6..7b9d68c 100644 --- a/confignt/config.h +++ b/confignt/config.h @@ -8,6 +8,22 @@ /* Define if you have the header file. */ #define HAVE_MATH_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 + #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