Include inttypes.h, if we have it, and use the standard format macro PRIi64 if it is defined.

This commit is contained in:
Steve Checkoway
2008-12-26 23:21:20 +00:00
parent fc59d1f853
commit 2258f21c2d
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -178,6 +178,8 @@ int64_t pos_map_queue::Search( int64_t iSourceFrame, bool *bApproximate ) const
*/
#if defined(WIN32)
#define LI "%I64i"
#elif defined(PRIi64)
#define LI "%" PRIi64
#else
#define LI "%lli"
#endif