summaryrefslogtreecommitdiff
path: root/maptool/maptool.h
diff options
context:
space:
mode:
Diffstat (limited to 'maptool/maptool.h')
-rw-r--r--maptool/maptool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/maptool/maptool.h b/maptool/maptool.h
index c589c10e..7ede3d59 100644
--- a/maptool/maptool.h
+++ b/maptool/maptool.h
@@ -4,6 +4,12 @@
#include "item.h"
#include "attr.h"
+#ifdef HAVE_API_WIN32_BASE
+#define LONGLONG_FMT "%I64d"
+#else
+#define LONGLONG_FMT "%Ld"
+#endif
+
#define BUFFER_SIZE 1280
#define debug_tile(x) 0