X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=confignt%2Fconfig.h;h=9ffb77ea7a59404371ebf737aaac5f96637a21ed;hb=c5282fa77324d86f882cfda15f43b62d2b1f8bc2;hp=261f0e613e107e0069a10d78654961ae5c1157cd;hpb=3a4825306f808c36fb2c529f27c5457a0715dfaf;p=rrdtool.git diff --git a/confignt/config.h b/confignt/config.h index 261f0e6..9ffb77e 100644 --- a/confignt/config.h +++ b/confignt/config.h @@ -8,6 +8,18 @@ /* 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"