mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
Revert "MinGW: only override PRIuMAX for GCC older than version 4"
This reverts commit 6d3e71d428.
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 <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user