X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=confignt%2Fconfig.h;h=d4d8be7654b87e3149c99e1ab4e8b056ab9d9f2d;hb=93a74eb976a85adc4926beec68a37295522bcabf;hp=3a7336b047bc9ee0d045f00a4726f8756a982c17;hpb=61d2c5d335a07bc1e558b6eb1593ca04ec0c963f;p=rrdtool.git diff --git a/confignt/config.h b/confignt/config.h index 3a7336b..d4d8be7 100644 --- a/confignt/config.h +++ b/confignt/config.h @@ -1,28 +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 +#define strftime strftime_ -/* Code in rrd_graph.c:rrd_graph_init() uses the %windir% environment - * variable to find the actual location of this relative font path to avoid - * the recompile problem if the system directory is c:/windows vs. d:/winnt. - */ +#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 RRD_DEFAULT_FONT "cour.ttf" +//#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 */