fix PRId64 macro for mingw

This commit is contained in:
Arvid Norberg 2011-07-23 21:18:25 +00:00
parent addbed9674
commit 270f6959e4
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
#ifndef PRId64
#ifdef _MSC_VER
// MinGW uses microsofts runtime
#if defined _MSC_VER || defined __MINGW32__
#define PRId64 "I64d"
#else
#define PRId64 "lld"