Skip to content

Commit fddc419

Browse files
committed
Merge branch 'Fix-i686-build-with-GCC-v14'
This fixes a long-time compile warning turned error by GCC v14. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents 8211081 + dab670f commit fddc419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-compat-util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct strbuf;
166166
/* Approximation of the length of the decimal representation of this type. */
167167
#define decimal_length(x) ((int)(sizeof(x) * 2.56 + 0.5) + 1)
168168

169-
#ifdef __MINGW64__
169+
#if defined(__MINGW32__) || defined(__MINGW64__)
170170
#define _POSIX_C_SOURCE 1
171171
#elif defined(__sun__)
172172
/*

0 commit comments

Comments
 (0)