mirror of https://github.com/OpenTTD/OpenTTD
(svn r4875) - Fix: %ll don't work with mingw (msvrct.dll problem)
parent
9648655a64
commit
adb1657ad7
4
debug.h
4
debug.h
|
@ -26,8 +26,8 @@ void CDECL debug(const char *s, ...);
|
||||||
void SetDebugString(const char *s);
|
void SetDebugString(const char *s);
|
||||||
const char *GetDebugString(void);
|
const char *GetDebugString(void);
|
||||||
|
|
||||||
/* MSVC of course has to have a different syntax for long long *sigh* */
|
/* MSVCRT of course has to have a different syntax for long long *sigh* */
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
# define OTTD_PRINTF64 "I64"
|
# define OTTD_PRINTF64 "I64"
|
||||||
#else
|
#else
|
||||||
# define OTTD_PRINTF64 "ll"
|
# define OTTD_PRINTF64 "ll"
|
||||||
|
|
Loading…
Reference in New Issue