diff options
Diffstat (limited to 'src/cc-compat.h')
| -rw-r--r-- | src/cc-compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cc-compat.h b/src/cc-compat.h index a256495f5..488de7f11 100644 --- a/src/cc-compat.h +++ b/src/cc-compat.h @@ -40,10 +40,10 @@ #endif /* Define the printf format specifer to use for size_t output */ -#if !defined(_MSC_VER) -# define PRIuZ "zu" -#else +#if defined(_MSC_VER) || defined(__MINGW32__) # define PRIuZ "Iu" +#else +# define PRIuZ "zu" #endif /* Micosoft Visual C/C++ */ |
