Force to not fix CRTLDLL bug in MSVCRTL

This commit is contained in:
Alexander S. Aganichev 2002-06-10 06:19:30 +00:00
parent 5914eacf6d
commit 151043cf9e

View File

@ -98,7 +98,7 @@ long GetFilesize(const char* file) {
dword gfixstattime(time_t st_time) { dword gfixstattime(time_t st_time) {
#if defined(__MINGW32__) || defined(__CYGWIN__) #if (defined(__MINGW32__) && !defined(__MSVCRT__)) || defined(__CYGWIN__)
struct tm &f = *gmtime(&st_time); struct tm &f = *gmtime(&st_time);
#else #else
struct tm &f = *localtime(&st_time); struct tm &f = *localtime(&st_time);
@ -110,7 +110,7 @@ dword gfixstattime(time_t st_time) {
t.ft_hour = f.tm_hour; t.ft_hour = f.tm_hour;
t.ft_min = f.tm_min; t.ft_min = f.tm_min;
t.ft_tsec = f.tm_sec / 2; t.ft_tsec = f.tm_sec / 2;
#if defined(__MINGW32__) || defined(__CYGWIN__) #if (defined(__MINGW32__) && !defined(__MSVCRT__)) || defined(__CYGWIN__)
union { union {
DWORD t; DWORD t;
struct { struct {