From 4fc47737fd0a7a6d06e3ba076449c4f002272737 Mon Sep 17 00:00:00 2001 From: gauthier60 Date: Sun, 11 Apr 2010 17:18:13 +0000 Subject: With Microsoft printf library the format for long long type is %I64d and not %Ld git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3153 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- maptool/maptool.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.1