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:
Johannes Schindelin
2009-03-07 19:44:03 +01:00
parent 3a76fdaf98
commit 3d27683b91

View File

@@ -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