Include inttypes.h, if we have it, and use the standard format macro PRIi64 if it is defined.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user