diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cc-compat.h | 6 | ||||
| -rw-r--r-- | src/common.h | 2 |
2 files changed, 4 insertions, 4 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++ */ diff --git a/src/common.h b/src/common.h index 5cb9d1b56..35df53402 100644 --- a/src/common.h +++ b/src/common.h @@ -4,7 +4,7 @@ /** Force 64 bit off_t size on POSIX. */ #define _FILE_OFFSET_BITS 64 -#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) +#if defined(_WIN32) && !defined(__CYGWIN__) #define GIT_WIN32 1 #endif |
