Skip to content

Commit 6852feb

Browse files
dschoGit for Windows Build Agent
authored and
Git for Windows Build Agent
committed
Fix build with GCC v14.1 (#4962)
The GCC v14.1 upgrade broke the build of `git-artifacts`. Partially, this has been fixed upstream already, but the i686 build requires a separate fix. This addresses #4953.
2 parents 3ea9565 + e399211 commit 6852feb

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