Util: Fix PRIz on Windows

This commit is contained in:
Jeffrey Pfau 2016-09-15 10:25:23 -07:00
parent d74092b291
commit 2000c8e2df
1 changed files with 5 additions and 1 deletions

View File

@ -70,7 +70,11 @@ typedef intptr_t ssize_t;
#endif
#if defined(_3DS) || defined(GEKKO) || defined(PSP2)
// newlib doesn't support %z properly
// newlib doesn't support %z properly by default
#define PRIz ""
#elif defined(_WIN64)
#define PRIz "ll"
#elif defined(_WIN32)
#define PRIz ""
#else
#define PRIz "z"