replae with pointer
[rrdtool.git] / win32 / rrd_config.h.msvc
1 /* rrd_config.h.msvc. Hand-tweaked rrd_config.h for MSVC compiler. */\r
2 #ifndef WIN32 \r
3 #error This rrd_config.h is created for Win32 platform! \r
4 #endif \r
5 #ifndef RRD_CONFIG_H\r
6 #define RRD_CONFIG_H\r
7 \r
8 #include <math.h>\r
9 #include <float.h>\r
10 #include <direct.h>\r
11 \r
12 /* the placeholders will be filled in by get_ver.awk */\r
13 /* http://cm.bell-labs.com/cm/cs/awkbook/index.html */\r
14 #define NUMVERS @@NUMVERS@@\r
15 #define PACKAGE_VERSION "@@PACKAGE_VERSION@@"\r
16 \r
17 #define PACKAGE_NAME "rrdtool"\r
18 #define PACKAGE_STRING PACKAGE_NAME " " PACKAGE_VERSION\r
19 \r
20 #define HAVE_STRFTIME 1\r
21 #define HAVE_TIME_H 1\r
22 #define HAVE_LOCALE_H 1\r
23 #define HAVE_TZSET 1\r
24 #define HAVE_SETLOCALE 1\r
25 #define HAVE_MATH_H 1\r
26 #define HAVE_FLOAT_H 1\r
27 #define HAVE_MEMMOVE 1\r
28 #define HAVE_MALLOC_H 1\r
29 #define HAVE_MKTIME 1\r
30 #define HAVE_STRFTIME 1\r
31 #define HAVE_STRING_H 1\r
32 #define HAVE_VSNPRINTF 1\r
33 #define HAVE_SYS_TYPES_H 1\r
34 #define HAVE_SYS_STAT_H 1\r
35 \r
36 /* Define to 1 if you have the ANSI C header files. */\r
37 #define STDC_HEADERS 1\r
38 \r
39 #define isinf(a) (_fpclass(a) == _FPCLASS_NINF || _fpclass(a) == _FPCLASS_PINF)\r
40 #define isnan _isnan\r
41 #define finite _finite\r
42 #define snprintf _snprintf\r
43 #define vsnprintf _vsnprintf\r
44 #define strftime strftime_ \r
45 #define strtoll(p, e, b) _strtoi64(p, e, b)\r
46 \r
47 /* realloc does not support NULL as argument */\r
48 #define NO_NULL_REALLOC 1\r
49 #if NO_NULL_REALLOC\r
50 # define rrd_realloc(a,b) ( (a) == NULL ? malloc( (b) ) : realloc( (a) , (b) ))\r
51 #else\r
52 # define rrd_realloc(a,b) realloc((a), (b))\r
53 #endif      \r
54 \r
55 /* Vertical label angle: 90.0 (default) or 270.0 */\r
56 #define RRDGRAPH_YLEGEND_ANGLE 90.0\r
57 \r
58 #define RRD_DEFAULT_FONT "arial.ttf"\r
59 /* #define RRD_DEFAULT_FONT "DejaVuSansMono-Roman.ttf" */\r
60 \r
61 /* #define WITH_PIECHART 1 */\r
62 \r
63 /* #define DEBUG 1 */\r
64 \r
65 #endif /* RRD_CONFIG_H */\r
66 \r