message: fix compilation of DateTime.cc with MinGW
diff: @@ -35,7 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  #include <cstring>
  #include <stdexcept>
  -#ifdef _MSC_VER
  +#ifdef _WIN32
  # define WIN32_LEAN_AND_MEAN
  # include <windows.h>
  # ifdef _MSC_EXTENSIONS
  @@ -45,7 +45,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  # endif // _MSC_EXTENSIONS
  #else
  # include <sys/time.h>
  -#endif // _MSC_VER
  +#endif // _WIN32
  // ----------------------------------------------------------------------------
  @@ -54,7 +54,7 @@ namespace hmdf
  DateTime::DateTime (DT_TIME_ZONE tz) : time_zone_(tz) {
  -#ifdef _MSC_VER
  +#ifdef _WIN32
  FILETIME ft;
  unsigned __int64 tmpres = 0;
  @@ -81,7 +81,7 @@ DateTime::DateTime (DT_TIME_ZONE tz) : time_zone_(tz) {
  ::gettimeofday(&tv, nullptr);
  set_time(tv.tv_sec, tv.tv_usec * 1000);
  -#endif // _MSC_VER
  +#endif // _WIN32
  }
  // ----------------------------------------------------------------------------
  @@ -909,14 +909,14 @@ std::string DateTime::string_format (DT_FORMAT format) const {
  inline void DateTime::change_env_timezone_(DT_TIME_ZONE time_zone) {
  if (time_zone != DT_TIME_ZONE::LOCAL) {
  -#ifdef _MSC_VER
  +#ifdef _WIN32
  // SetEnvironmentVariable (L"TZ", TIMEZONES_ [time_zone]);
  _putenv (TIMEZONES_[static_cast<int>(time_zone)]);
  _tzset ();
  #else
  ::setenv ("TZ", TIMEZONES_[static_cast<int>(time_zone)], 1);
  ::tzset ();
  -#endif // _MSC_VER
  +#endif // _WIN32
  }
  }
  @@ -925,14 +925,14 @@ inline void DateTime::change_env_timezone_(DT_TIME_ZONE time_zone) {
  inline void DateTime::reset_env_timezone_(DT_TIME_ZONE time_zone) {
  if (time_zone != DT_TIME_ZONE::LOCAL) {
  -#ifdef _MSC_VER
  +#ifdef _WIN32
  // SetEnvironmentVariable (L"TZ", nullptr);
  _putenv ("TZ=");
  _tzset ();
  #else
  ::unsetenv ("TZ");
  ::tzset ();
  -#endif // _MSC_VER
  +#endif // _WIN32
  }
  }
  @@ -965,11 +965,11 @@ DateTime::breaktime_ (EpochType the_time, NanosecondType nanosec) noexcept {
  struct tm ltime;
  -#ifdef _MSC_VER
  +#ifdef _WIN32
  localtime_s (&ltime, &the_time);
  #else
  localtime_r (&the_time, &ltime);
  -#endif // _MSC_VER
  +#endif // _WIN32
  reset_env_timezone_(time_zone_);
  