(svn r27109) -Fix (r27102): MinGW compilation

This commit is contained in:
rubidium
2015-01-02 19:50:43 +00:00
parent 60cc857333
commit 889780adce

View File

@@ -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"