1 /* config.h.msvc. Hand-tweaked config.h for MSVC compiler. */
9 /* realloc does not support NULL as argument */
11 #define HAVE_STRFTIME 1
13 #define HAVE_LOCALE_H 1
15 #define HAVE_SETLOCALE 1
17 #define HAVE_FLOAT_H 1
18 #define HAVE_MEMMOVE 1
19 #define HAVE_MALLOC_H 1
21 #define HAVE_STRFTIME 1
22 #define HAVE_STRING_H 1
23 #define HAVE_VSNPRINTF 1
24 #define HAVE_SYS_TYPES_H 1
25 #define HAVE_SYS_STAT_H 1
27 /* Define to 1 if you have the ANSI C header files. */
28 #define STDC_HEADERS 1
30 #define NUMVERS 1.2015
31 #define PACKAGE_NAME "rrdtool"
32 #define PACKAGE_VERSION "1.2.15"
33 #define PACKAGE_STRING PACKAGE_NAME " " PACKAGE_VERSION
35 #define isinf(a) (_fpclass(a) == _FPCLASS_NINF || _fpclass(a) == _FPCLASS_PINF)
37 #define finite _finite
38 #define snprintf _snprintf
39 #define vsnprintf _vsnprintf
40 #define strftime strftime_
42 #define NO_NULL_REALLOC 1
44 # define rrd_realloc(a,b) ( (a) == NULL ? malloc( (b) ) : realloc( (a) , (b) ))
46 # define rrd_realloc(a,b) realloc((a), (b))
49 /* Vertical label angle: 90.0 (default) or 270.0 */
50 #define RRDGRAPH_YLEGEND_ANGLE 90.0
52 #define RRD_DEFAULT_FONT "arial.ttf"
53 /* #define RRD_DEFAULT_FONT "DejaVuSansMono-Roman.ttf" */
55 /* #define WITH_PIECHART 1 */