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 | 102b99f5f54744b404ae8a2aa5b9ac4b297059a1 (patch) | |
tree | 5b45c822a9d14290e34e511920214348355bb55d /navit/maptool | |
parent | d4f57b91e44b43e896c354f10ed36785d239bec2 (diff) | |
download | navit-102b99f5f54744b404ae8a2aa5b9ac4b297059a1.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@3153 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool')
-rw-r--r-- | navit/maptool/maptool.h | 6 |
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 |