Force to not fix CRTLDLL bug in MSVCRTL
This commit is contained in:
parent
5914eacf6d
commit
151043cf9e
@ -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 {
|
||||||
|
Reference in New Issue
Block a user