provide definitions for PRIu64 if missing

This commit is contained in:
Arvid Norberg 2012-01-19 06:28:29 +00:00
parent b5f456f839
commit 9c24b7e23f
1 changed files with 2 additions and 0 deletions

View File

@ -51,8 +51,10 @@ POSSIBILITY OF SUCH DAMAGE.
// MinGW uses microsofts runtime
#if defined _MSC_VER || defined __MINGW32__
#define PRId64 "I64d"
#define PRIu64 "I64u"
#else
#define PRId64 "lld"
#define PRIu64 "llu"
#endif
#endif