/* Define your own defaults in config.h if necessary */
#if defined(TZNAME_STD) && defined(TZNAME_DST)
char *tzname_[2] = { TZNAME_STD, TZNAME_DST };
+#elif defined(_MSC_VER)
+/* VS defines these variables with a leading underscore */
+#define tzname_ _tzname
#else
#define tzname_ tzname
#endif
/* Define to 1 if you have the `isnan' function. */
#define HAVE_ISNAN 1
+/* Define to 1 if you have the <pcre.h> header file. */
+#define HAVE_PCRE_COMPILE 1
+
/* is rrd_graph supported by this install */
#define HAVE_RRD_GRAPH /**/
#define rrd_realloc(a,b) ( (a) == NULL ? malloc( (b) ) : realloc( (a) , (b) ))
#define realpath(N,R) _fullpath((R),(N),_MAX_PATH)
#define strcasecmp _stricmp
-#define strcasencmp _strnicmp
+#define strncasecmp _strnicmp
+#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
// in MSVC++ 12.0 / Visual Studio 2013 is a definition of round in math.h
// some values of _MSC_VER