summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 58aa2ce0c..6de184a9c 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -909,9 +909,8 @@ typedef double mp_float_t;
#define UINT_FMT "%lu"
#define INT_FMT "%ld"
#elif defined(_WIN64)
-#include <inttypes.h>
-#define UINT_FMT "%"PRIu64
-#define INT_FMT "%"PRId64
+#define UINT_FMT "%llu"
+#define INT_FMT "%lld"
#else
// Archs where mp_int_t == int
#define UINT_FMT "%u"