changeset 3851:4865bcb219e0 draft

(svn r4875) - Fix: %ll don't work with mingw (msvrct.dll problem)
author glx <glx@openttd.org>
date Mon, 15 May 2006 22:32:27 +0000
parents d77b6418b87c
children ae67603aabbc
files debug.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/debug.h
+++ b/debug.h
@@ -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"