Override PRIi64 for mingw/Win64
This commit is contained in:
parent
9ee9e176c8
commit
2199bd4e25
|
@ -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 -----------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue