From 151043cf9e378bd0f0cdce84a10869564e5d57e9 Mon Sep 17 00:00:00 2001 From: "Alexander S. Aganichev" Date: Mon, 10 Jun 2002 06:19:30 +0000 Subject: [PATCH] Force to not fix CRTLDLL bug in MSVCRTL --- goldlib/gall/gfilutl1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goldlib/gall/gfilutl1.cpp b/goldlib/gall/gfilutl1.cpp index 0cdd1b8..e8571f9 100644 --- a/goldlib/gall/gfilutl1.cpp +++ b/goldlib/gall/gfilutl1.cpp @@ -98,7 +98,7 @@ long GetFilesize(const char* file) { dword gfixstattime(time_t st_time) { - #if defined(__MINGW32__) || defined(__CYGWIN__) + #if (defined(__MINGW32__) && !defined(__MSVCRT__)) || defined(__CYGWIN__) struct tm &f = *gmtime(&st_time); #else struct tm &f = *localtime(&st_time); @@ -110,7 +110,7 @@ dword gfixstattime(time_t st_time) { t.ft_hour = f.tm_hour; t.ft_min = f.tm_min; t.ft_tsec = f.tm_sec / 2; - #if defined(__MINGW32__) || defined(__CYGWIN__) + #if (defined(__MINGW32__) && !defined(__MSVCRT__)) || defined(__CYGWIN__) union { DWORD t; struct {