From 3d27683b91df7d4fd6b70e32ed12b08721a46dbd Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Sat, 7 Mar 2009 19:44:03 +0100 Subject: [PATCH] Revert "MinGW: only override PRIuMAX for GCC older than version 4" This reverts commit 6d3e71d428b1ee007339d679c26a336c8aefeade. Apparently, GCC >= 4 does not like %I64u as modifier to show unsigned long longs. However, using %llu -- even if the compiler warning goes away -- fails spectacularly: The C runtime insists that %llu takes 32-bit numbers. So for now, we _have_ to live with compiler warnings galore. Signed-off-by: Johannes Schindelin --- compat/mingw.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/compat/mingw.h b/compat/mingw.h index a0b74fb7ca..b82903c74a 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -203,9 +203,7 @@ int winansi_fprintf(FILE *stream, const char *format, ...) __attribute__((format #define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') #define is_dir_sep(c) ((c) == '/' || (c) == '\\') #define PATH_SEP ';' -#if !defined(__GNUC__) || __GNUC__ < 3 #define PRIuMAX "I64u" -#endif void mingw_open_html(const char *path); #define open_html mingw_open_html