diff options
author | glx <glx@openttd.org> | 2006-05-15 22:32:27 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-05-15 22:32:27 +0000 |
commit | adb1657ad7a12f092cdddb863a8b8b7cc7177250 (patch) | |
tree | c80b1d2fc95e658828d28d0d80c660e7d38208e3 | |
parent | 9648655a642685e5e0a34cc56a4f31e10734601d (diff) | |
download | openttd-adb1657ad7a12f092cdddb863a8b8b7cc7177250.tar.xz |
(svn r4875) - Fix: %ll don't work with mingw (msvrct.dll problem)
-rw-r--r-- | debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |