Pre-MSVC 2013 did not support PRIu32, add workaround

This commit is contained in:
twinaphex 2018-07-14 05:29:17 +02:00
parent 0df98a53a6
commit d6c5c7f208

View File

@ -159,7 +159,11 @@ typedef struct
# ifdef _WIN64
# define PRI_SIZET PRIu64
# else
#if _MSC_VER == 1800
# define PRI_SIZET PRIu32
#else
# define PRI_SIZET "u"
#endif
# endif
#else
# define PRI_SIZET "zu"