Override PRIi64 for mingw/Win64

This commit is contained in:
Kp 2014-12-14 21:02:40 +00:00
parent 9ee9e176c8
commit 2199bd4e25

View file

@ -112,6 +112,14 @@ COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
#include <SDL.h>
#if defined(__GNUC__) && defined(WIN64)
/* Mingw64 _mingw_print_pop.h changes PRIi64 to POSIX-style. Change it
* back here.
*/
#undef PRIi64
#define PRIi64 "I64i"
#endif
using std::min;
// Global Variables -----------------------------------------------------------