Commit
2de7b82e0df99c96a85eab73577ed15aaeb12c71
mingw: drop the -D_USE_32BIT_TIME_T option
This option was added in fa93bb20d72 (MinGW: Fix stat definitions to work with MinGW runtime version 4.0, 2013-09-11), i.e. a _long_ time ago. So long, in fact, that it still targeted MinGW. But we switched to mingw-w64 in 2015, which seems not to share the problem, and therefore does not require a fix. Even worse: This flag is incompatible with UCRT64, which we are about to support by way of upstreaming `mingw-w64-git` to the MSYS2 project, see https://github.com/msys2/MINGW-packages/pull/26470 for details. So let's send that option into its well-deserved retirement. Helped-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin <johannes.schindelin@gmx.de> · 2026-09-10 06:05 UTC · committed by Junio C Hamano
1 file changed,
+0
−1
modified config.mak.uname
| @@ -768,7 +768,6 @@ ifeq ($(uname_S),MINGW) | |||
| 768 | 768 | HOST_CPU = aarch64 | |
| 769 | 769 | BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup | |
| 770 | 770 | else | |
| 771 | - | COMPAT_CFLAGS += -D_USE_32BIT_TIME_T | |
| 772 | 771 | BASIC_LDFLAGS += -Wl,--large-address-aware | |
| 773 | 772 | endif | |
| 774 | 773 | COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO=0 -DDETECT_MSYS_TTY \ | |