Skip to content

Commit d94f2e1

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 da62d68 + 4e15b6f commit d94f2e1

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
@@ -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)