| ... | ... | @@ -33,6 +33,9 @@ pub fn buildCRTFile(comp: *Compilation, crt_file: CRTFile, prog_node: *std.Progr |
| 33 | 33 | try args.appendSlice(&[_][]const u8{ |
| 34 | 34 | "-D_SYSCRT=1", |
| 35 | 35 | "-DCRTDLL=1", |
| 36 | // Prevents warning: 'used' attribute ignored on a non-definition declaration |
| 37 | // pointing at extern _CRTALLOC |
| 38 | "-Wno-ignored-attributes", |
| 36 | 39 | // Uncommenting this makes mingw-w64 look for wmain instead of main. |
| 37 | 40 | //"-DUNICODE", |
| 38 | 41 | //"-D_UNICODE", |
| ... | ... | @@ -753,9 +756,9 @@ const mingwex_generic_src = [_][]const u8{ |
| 753 | 756 | "stdio" ++ path.sep_str ++ "atoll.c", |
| 754 | 757 | "stdio" ++ path.sep_str ++ "fgetpos64.c", |
| 755 | 758 | "stdio" ++ path.sep_str ++ "fopen64.c", |
| 759 | "stdio" ++ path.sep_str ++ "fseeki64.c", |
| 756 | 760 | "stdio" ++ path.sep_str ++ "fseeko32.c", |
| 757 | 761 | "stdio" ++ path.sep_str ++ "fseeko64.c", |
| 758 | | "stdio" ++ path.sep_str ++ "fseeki64.c", |
| 759 | 762 | "stdio" ++ path.sep_str ++ "fsetpos64.c", |
| 760 | 763 | "stdio" ++ path.sep_str ++ "ftello.c", |
| 761 | 764 | "stdio" ++ path.sep_str ++ "ftello64.c", |
| ... | ... | @@ -763,6 +766,36 @@ const mingwex_generic_src = [_][]const u8{ |
| 763 | 766 | "stdio" ++ path.sep_str ++ "lltoa.c", |
| 764 | 767 | "stdio" ++ path.sep_str ++ "lltow.c", |
| 765 | 768 | "stdio" ++ path.sep_str ++ "lseek64.c", |
| 769 | "stdio" ++ path.sep_str ++ "mingw_asprintf.c", |
| 770 | "stdio" ++ path.sep_str ++ "mingw_dummy__lock.c", |
| 771 | "stdio" ++ path.sep_str ++ "mingw_fprintf.c", |
| 772 | "stdio" ++ path.sep_str ++ "mingw_fprintfw.c", |
| 773 | "stdio" ++ path.sep_str ++ "mingw_fscanf.c", |
| 774 | "stdio" ++ path.sep_str ++ "mingw_fwscanf.c", |
| 775 | "stdio" ++ path.sep_str ++ "mingw_lock.c", |
| 776 | "stdio" ++ path.sep_str ++ "mingw_pformat.c", |
| 777 | "stdio" ++ path.sep_str ++ "mingw_pformatw.c", |
| 778 | "stdio" ++ path.sep_str ++ "mingw_printf.c", |
| 779 | "stdio" ++ path.sep_str ++ "mingw_printfw.c", |
| 780 | "stdio" ++ path.sep_str ++ "mingw_scanf.c", |
| 781 | "stdio" ++ path.sep_str ++ "mingw_snprintf.c", |
| 782 | "stdio" ++ path.sep_str ++ "mingw_snprintfw.c", |
| 783 | "stdio" ++ path.sep_str ++ "mingw_sprintf.c", |
| 784 | "stdio" ++ path.sep_str ++ "mingw_sprintfw.c", |
| 785 | "stdio" ++ path.sep_str ++ "mingw_sscanf.c", |
| 786 | "stdio" ++ path.sep_str ++ "mingw_swscanf.c", |
| 787 | "stdio" ++ path.sep_str ++ "mingw_vasprintf.c", |
| 788 | "stdio" ++ path.sep_str ++ "mingw_vfprintf.c", |
| 789 | "stdio" ++ path.sep_str ++ "mingw_vfprintfw.c", |
| 790 | "stdio" ++ path.sep_str ++ "mingw_vfscanf.c", |
| 791 | "stdio" ++ path.sep_str ++ "mingw_vprintf.c", |
| 792 | "stdio" ++ path.sep_str ++ "mingw_vprintfw.c", |
| 793 | "stdio" ++ path.sep_str ++ "mingw_vsnprintf.c", |
| 794 | "stdio" ++ path.sep_str ++ "mingw_vsnprintfw.c", |
| 795 | "stdio" ++ path.sep_str ++ "mingw_vsprintf.c", |
| 796 | "stdio" ++ path.sep_str ++ "mingw_vsprintfw.c", |
| 797 | "stdio" ++ path.sep_str ++ "mingw_wscanf.c", |
| 798 | "stdio" ++ path.sep_str ++ "mingw_wvfscanf.c", |
| 766 | 799 | "stdio" ++ path.sep_str ++ "scanf.S", |
| 767 | 800 | "stdio" ++ path.sep_str ++ "snprintf.c", |
| 768 | 801 | "stdio" ++ path.sep_str ++ "snwprintf.c", |