diff options
author | gauthier60 <gauthier60@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-11 17:18:13 +0000 |
---|---|---|
committer | gauthier60 <gauthier60@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-11 17:18:13 +0000 |
commit | 4fc47737fd0a7a6d06e3ba076449c4f002272737 (patch) | |
tree | 1513d9920d0322858a73148f86092acaf671a533 | |
parent | 0bcafc04824d71e72da71749e1536bc0b1cd82d4 (diff) | |
download | navit-svn-4fc47737fd0a7a6d06e3ba076449c4f002272737.tar.gz |
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
-rw-r--r-- | maptool/maptool.h | 6 |
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 |