This commit is contained in:
Alcaro 2017-11-27 17:55:05 +01:00 committed by GitHub
parent 61bd9d7d70
commit 26008ca580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,13 +75,15 @@ typedef int ssize_t;
#include <sys/types.h>
#endif
#ifndef _WIN32
#include <inttypes.h>
#else
#ifdef _MSC_VER
#ifndef PRId64
#define PRId64 "I64d"
#define PRIu64 "I64u"
#define PRIuPTR "Iu"
#endif
#else
#include <inttypes.h>
#endif
#define STRING_REP_INT64 "%" PRId64
#define STRING_REP_UINT64 "%" PRIu64
#define STRING_REP_USIZE "%" PRIuPTR