Skip to content

Commit 721d41f

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 002c326 + d433451 commit 721d41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-compat-util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ DISABLE_WARNING(-Wsign-compare)
176176
/* Approximation of the length of the decimal representation of this type. */
177177
#define decimal_length(x) ((int)(sizeof(x) * 2.56 + 0.5) + 1)
178178

179-
#ifdef __MINGW64__
179+
#if defined(__MINGW32__) || defined(__MINGW64__)
180180
#define _POSIX_C_SOURCE 1
181181
#elif defined(__sun__)
182182
/*

0 commit comments

Comments
 (0)