Skip to content

Commit 177dedd

Browse files
committed
git-compat-util.h: drop the PRIuMAX definition
Git's code base already seems to be using `PRIdMAX` without any such fallback definition for quite a while (7545941 (json_writer: new routines to create JSON data, 2018-07-13), to be precise, and the first Git version to include that commit was v2.19.0). Therefore it should be safe to drop the fallback definition for `PRIuMAX` in `git-compat-util.h`. This addresses gitgitgadget#399 Signed-off-by: Hariom Verma <[email protected]>
1 parent d9f6f3b commit 177dedd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

git-compat-util.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,10 +320,6 @@ char *gitdirname(char *);
320320
#define PATH_MAX 4096
321321
#endif
322322

323-
#ifndef PRIuMAX
324-
#define PRIuMAX "llu"
325-
#endif
326-
327323
#ifndef SCNuMAX
328324
#define SCNuMAX PRIuMAX
329325
#endif

0 commit comments

Comments
 (0)