summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2015-01-01 20:50:43 +0000
committerrubidium <rubidium@openttd.org>2015-01-01 20:50:43 +0000
commit730773f5f1eb68888738d9022afa7e41469e1f2d (patch)
tree1dfbb8da6ee943dc2a66ab7d3df439c7b793398d /src/stdafx.h
parent85b93d0e5ef689be756c923bd21b046e48eb019e (diff)
downloadopenttd-730773f5f1eb68888738d9022afa7e41469e1f2d.tar.xz
(svn r27102) -Fix [FS#6194]: money values would end up wrong in strings when outside of the bounds of a 32 bits integer
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index d26b05c3f..87270c6ca 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -322,6 +322,7 @@
#define OTTD_PRINTF64 "%I64d"
#define OTTD_PRINTFHEX64 "%I64x"
#define PRINTF_SIZE "%Iu"
+ #define strtoull _strtoui64
#else
#define OTTD_PRINTF64 "%lld"
#define OTTD_PRINTFHEX64 "%llx"