diff --git a/win32/zipconf.h b/win32/zipconf.h index 861595a..e2434ee 100644 --- a/win32/zipconf.h +++ b/win32/zipconf.h @@ -21,7 +21,13 @@ #if !defined(__STDC_FORMAT_MACROS) #define __STDC_FORMAT_MACROS 1 #endif +#if defined(_MSC_VER) && _MSC_VER < 1700 +#include +#define PRIu32 "lu" +#define PRIu64 "llu" +#else #include +#endif typedef int8_t zip_int8_t; typedef uint8_t zip_uint8_t;