| author | glx |
| Mon, 15 May 2006 22:32:27 +0000 | |
| changeset 3851 | 4bbb525957b0 |
| parent 3850 | 2898f8c94763 |
| child 3852 | d293deaf2f1b |
--- a/debug.h Mon May 15 21:13:16 2006 +0000 +++ b/debug.h Mon May 15 22:32:27 2006 +0000 @@ -26,8 +26,8 @@ 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"