From 0cbe1bcd6fca2ce92efef40bb752e28bc1010481 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Thu, 19 Sep 2013 07:56:38 +0200 Subject: [PATCH] compat/mingw.h: define PRId64 The MinGW compiler has stdint.h, but does not define macros for format specifiers. Privide PRId64 alongside PRIuMAX. Signed-off-by: Johannes Sixt --- compat/mingw.h | 1 + 1 file changed, 1 insertion(+) diff --git a/compat/mingw.h b/compat/mingw.h index bd0a88bc1d..9eb3b17ff0 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -322,6 +322,7 @@ static inline char *mingw_find_last_dir_sep(const char *path) #define find_last_dir_sep mingw_find_last_dir_sep #define PATH_SEP ';' #define PRIuMAX "I64u" +#define PRId64 "I64d" void mingw_open_html(const char *path); #define open_html mingw_open_html -- 2.11.4.GIT