mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
MinGW: only override PRIuMAX for GCC older than version 4
GCC has no problems with PRIuMAX with recent GCC versions, but these versions do not like I64u any longer. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -200,7 +200,9 @@ 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