summaryrefslogtreecommitdiff
path: root/navit/maptool/maptool.h
diff options
context:
space:
mode:
Diffstat (limited to 'navit/maptool/maptool.h')
-rw-r--r--navit/maptool/maptool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/navit/maptool/maptool.h b/navit/maptool/maptool.h
index c589c10e0..7ede3d599 100644
--- a/navit/maptool/maptool.h
+++ b/navit/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