diff options
author | mvglasow <mvglasow@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-08 15:14:34 +0000 |
---|---|---|
committer | mvglasow <mvglasow@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-11-08 15:14:34 +0000 |
commit | 085d9305b14093827fef1996e89749a6c79d188e (patch) | |
tree | dd3cad3c0e5af8a78864264e2b32cea28722feaa /navit/util.h | |
parent | ffd2bba2ad1af631abc5955d40e9aa39022730cf (diff) | |
download | navit-svn-085d9305b14093827fef1996e89749a6c79d188e.tar.gz |
Fix:core:Refine criteria for announcing maneuvers|Partial fix for #660
Signed-off-by: mvglasow <michael -at- vonglasow.com>
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5929 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/util.h')
-rw-r--r-- | navit/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/navit/util.h b/navit/util.h index b7b60b53..5beceb7b 100644 --- a/navit/util.h +++ b/navit/util.h @@ -23,6 +23,9 @@ #include <ctype.h> #include "config.h" +#define max(a,b) ((a) > (b) ? (a) : (b)) +#define min(a,b) ((a) < (b) ? (a) : (b)) + void strtoupper(char *dest, const char *src); void strtolower(char *dest, const char *src); int navit_utf8_strcasecmp(const char *s1, const char *s2); |