X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=confignt%2Fconfig.h;h=d4d8be7654b87e3149c99e1ab4e8b056ab9d9f2d;hb=b19eb0bf096c125f806a49eff07c6634e8b035d5;hp=7b9d68cda6f84c7dd498dc224756a17c28fd0120;hpb=f0dca1ae09baf94da5575806fb1e8027a1c95ceb;p=rrdtool.git diff --git a/confignt/config.h b/confignt/config.h index 7b9d68c..d4d8be7 100644 --- a/confignt/config.h +++ b/confignt/config.h @@ -1,29 +1,54 @@ -/* config.h.nt: what configure _would_ say, if it ran on NT */ +/* config.h.in. Generated from configure.ac by autoheader. */ +#ifndef CONFIG_H +#define CONFIG_H -#define STDC_HEADERS 1 +#include +#include -/* Define if you have the strftime function. */ -#define HAVE_STRFTIME 1 +/* realloc does not support NULL as argument */ -/* Define if you have the header file. */ +#define HAVE_STRFTIME 1 +#define HAVE_TIME_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_TZSET 1 +#define HAVE_SETLOCALE 1 #define HAVE_MATH_H 1 - +#define HAVE_FLOAT_H 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MALLOC_H 1 +#define HAVE_MKTIME 1 +#define HAVE_STRFTIME 1 +#define HAVE_STRING_H 1 +#define HAVE_VPRINTF 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 -#define rrd_realloc(a,b) realloc((a), (b)) +//#define PACKAGE "rrdtool" +//#define PACKAGE_NAME "rrdtool" +//#define PACKAGE_STRING "rrdtool 1.2rc6" +//#define PACKAGE_VERSION "1.2rc6" +//#define VERSION "1.2rc6" + +#define STDC_HEADERS 1 +#define RRD_DEFAULT_FONT "arial.ttf" #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 strftime strftime_ + +#define NO_NULL_REALLOC 1 +#if NO_NULL_REALLOC +# define rrd_realloc(a,b) ( (a) == NULL ? malloc( (b) ) : realloc( (a) , (b) )) +#else +# define rrd_realloc(a,b) realloc((a), (b)) +#endif +//#define DEBUG 1 + +/* Vertical label angle: 90.0 (default) or 270.0 */ #define RRDGRAPH_YLEGEND_ANGLE 90.0 -#define HAVE_STRING_H 1 +/* Define to 1 if you have the ANSI C header files. */ + + +#endif /* CONFIG_H */ +