From: Hariom Verma <hariom18599@xxxxxxxxx> Git's code base already seems to be using `PRIdMAX` without any such fallback definition for quite a while (75459410edd (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 https://github.com/gitgitgadget/git/issues/399 Signed-off-by: Hariom Verma <hariom18599@xxxxxxxxx> --- git-compat-util.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/git-compat-util.h b/git-compat-util.h index 607dca7534..ba710cfa6c 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -320,10 +320,6 @@ char *gitdirname(char *); #define PATH_MAX 4096 #endif -#ifndef PRIuMAX -#define PRIuMAX "llu" -#endif - #ifndef SCNuMAX #define SCNuMAX PRIuMAX #endif -- gitgitgadget