summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2024-09-04 16:16:54 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-04 08:41:36 -0700
commit42020d2dc01d552c9f034c691d25f726735ab3c5 (patch)
treef760261cc8018f8978f18392349060fb423ac141 /commit.h
parentaa57db2822e585b623c21dc5f38fda272f272849 (diff)
clar: avoid compile error with mingw-w64
When using mingw-w64 to compile the code, and using `_stat()`, it is necessary to use `struct _stat`, too, and not `struct stat` (as the latter is incompatible with the "dashed" version because it is limited to 32-bit time types for backwards compatibility). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions