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 | 3d3139b5b858cc27a9461de24b23e2cefb0179ea (patch) | |
tree | dd3cad3c0e5af8a78864264e2b32cea28722feaa /navit/util.h | |
parent | 9aea70bd55baaa9879e353894b3cb2ebf830fd4b (diff) | |
download | navit-3d3139b5b858cc27a9461de24b23e2cefb0179ea.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 b7b60b533..5beceb7b1 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); |