Add STRING_REP_INT64

This commit is contained in:
twinaphex 2016-06-27 08:24:28 +02:00
parent 728249fa61
commit a51a259e58

View File

@ -76,10 +76,13 @@ typedef int ssize_t;
#endif
#ifdef _WIN32
#define STRING_REP_INT64 "%I64u"
#define STRING_REP_ULONG "%Iu"
#elif defined(__STDC_VERSION__) && __STDC_VERSION__>=199901L
#define STRING_REP_INT64 "%llu"
#define STRING_REP_ULONG "%zu"
#else
#define STRING_REP_INT64 "%llu"
#define STRING_REP_ULONG "%lu"
#endif