(svn r19570) -Add: [NewGRF] support for extended text code 0x9A 11, print qword

This commit is contained in:
yexo
2010-04-06 23:45:10 +00:00
parent faf5e19aae
commit 705955b1e6
4 changed files with 11 additions and 3 deletions

View File

@@ -276,9 +276,11 @@
/* MSVCRT of course has to have a different syntax for long long *sigh* */
#if defined(_MSC_VER) || defined(__MINGW32__)
#define OTTD_PRINTF64 "%I64d"
#define OTTD_PRINTFHEX64 "%I64x"
#define PRINTF_SIZE "%Iu"
#else
#define OTTD_PRINTF64 "%lld"
#define OTTD_PRINTFHEX64 "%llx"
#define PRINTF_SIZE "%zu"
#endif