index 9225fb08b0d3dda925d14e9ffbe79e05c0f80d95..7ed95d480f26395422692af47851bd91e0182c70 100644 (file)
--- a/program/src/rrd_update.c
+++ b/program/src/rrd_update.c
};
#endif
+#if !(defined(__MINGW32__) && \
+ ((__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 12) || __MINGW32_MAJOR_VERSION > 3))
+
struct __timezone {
int tz_minuteswest; /* minutes W of Greenwich */
int tz_dsttime; /* type of dst correction */
return 0;
}
+#endif /* mingw32 3.4.5 */
#endif
+
/*
* normilize time as returned by gettimeofday. usec part must
* be always >= 0