summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdafx.h b/src/stdafx.h
index fdbc81e73..854282b6c 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -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