repair time_t reference for 32-bit MinGW

original commit: a00db84bb2827669aac0a15d51b83c607df4b7b9
This commit is contained in:
Matthew Flatt 2019-03-05 15:13:36 -07:00
parent 2151977518
commit 5392cfa506

View File

@ -245,6 +245,10 @@ typedef char *memcpy_t;
#define NSECMTIME(sb) 0
#define ICONV_INBUF_TYPE char **
#define UNUSED
#if defined(__MINGW32__) && (machine_type == machine_type_ti3nt || machine_type == machine_type_i3nt)
#define time_t __time64_t
#define time _time64
#endif
#endif
#if (machine_type == machine_type_i3ob || machine_type == machine_type_ti3ob || machine_type == machine_type_a6ob || machine_type == machine_type_ta6ob)