1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 09:29:10 +00:00

(svn r4875) - Fix: %ll don't work with mingw (msvrct.dll problem)

This commit is contained in:
glx
2006-05-15 22:32:27 +00:00
parent 9648655a64
commit adb1657ad7

View File

@@ -26,8 +26,8 @@ void CDECL debug(const char *s, ...);
void SetDebugString(const char *s);
const char *GetDebugString(void);
/* MSVC of course has to have a different syntax for long long *sigh* */
#ifdef _MSC_VER
/* MSVCRT of course has to have a different syntax for long long *sigh* */
#if defined(_MSC_VER) || defined(__MINGW32__)
# define OTTD_PRINTF64 "I64"
#else
# define OTTD_PRINTF64 "ll"