summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2015-01-02 19:50:43 +0000
committerrubidium <rubidium@openttd.org>2015-01-02 19:50:43 +0000
commit889780adced943eb3c0658f3fc5ff23cc52fd61e (patch)
tree656e2e99a9052d7c11ed59962dfbb031d395070c /src/stdafx.h
parent60cc857333c784e3537e788681c8764a30ed9f91 (diff)
downloadopenttd-889780adced943eb3c0658f3fc5ff23cc52fd61e.tar.xz
(svn r27109) -Fix (r27102): MinGW compilation
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index 87270c6ca..d68605c19 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -266,6 +266,8 @@
#define strncasecmp strnicmp
#endif
+ #define strtoull _strtoui64
+
/* MSVC doesn't have these :( */
#define S_ISDIR(mode) (mode & S_IFDIR)
#define S_ISREG(mode) (mode & S_IFREG)
@@ -322,7 +324,6 @@
#define OTTD_PRINTF64 "%I64d"
#define OTTD_PRINTFHEX64 "%I64x"
#define PRINTF_SIZE "%Iu"
- #define strtoull _strtoui64
#else
#define OTTD_PRINTF64 "%lld"
#define OTTD_PRINTFHEX64 "%llx"