X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=win32%2Fconfig.h;h=1a9a9ed01bc8c60140d93fade7a6df61e7725987;hp=9d2603ea230a6db040aea7736ed795d0091417af;hb=45b09b473ffe27306f8f17a02963ba3d305dfdbb;hpb=657d850f957a2dd703e3aab2d7cde4b0f9711c15 diff --git a/win32/config.h b/win32/config.h index 9d2603e..1a9a9ed 100644 --- a/win32/config.h +++ b/win32/config.h @@ -5,6 +5,7 @@ #include #include #include +#include /* realloc does not support NULL as argument */ @@ -20,6 +21,7 @@ #define HAVE_MKTIME 1 #define HAVE_STRFTIME 1 #define HAVE_STRING_H 1 +#define HAVE_STDLIB_H 1 #define HAVE_VSNPRINTF 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 @@ -27,17 +29,17 @@ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 -#define NUMVERS 1.2015 +#define NUMVERS 1.4050 #define PACKAGE_NAME "rrdtool" -#define PACKAGE_VERSION "1.2.15" +#define PACKAGE_VERSION "1.4.5" #define PACKAGE_STRING PACKAGE_NAME " " PACKAGE_VERSION #define isinf(a) (_fpclass(a) == _FPCLASS_NINF || _fpclass(a) == _FPCLASS_PINF) #define isnan _isnan #define finite _finite #define snprintf _snprintf -#define vsnprintf _vsnprintf -#define strftime strftime_ +//#define vsnprintf _vsnprintf +//#define strftime strftime_ #define NO_NULL_REALLOC 1 #if NO_NULL_REALLOC @@ -49,11 +51,10 @@ /* Vertical label angle: 90.0 (default) or 270.0 */ #define RRDGRAPH_YLEGEND_ANGLE 90.0 -#define RRD_DEFAULT_FONT "arial.ttf" -/* #define RRD_DEFAULT_FONT "DejaVuSansMono-Roman.ttf" */ - -/* #define WITH_PIECHART 1 */ +#define RRD_DEFAULT_FONT "Courier" /* #define DEBUG 1 */ +__inline int round(double a){int x = (a + 0.5); return x;} + #endif /* CONFIG_H */