diff options
author | mvglasow <michael -at- vonglasow.com> | 2018-05-19 21:36:35 +0200 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2018-05-19 21:36:35 +0200 |
commit | 2ee827a5384406f28ace0e2f3ca6eaae57d223ae (patch) | |
tree | a46e072131e16031b197e1b5c25491e3f688d8db /navit/util.h | |
parent | 7f17571baefc2ecb6769377005d4ec29b18fe906 (diff) | |
download | navit-2ee827a5384406f28ace0e2f3ca6eaae57d223ae.tar.gz |
Add:core:MIN macro
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/util.h')
-rw-r--r-- | navit/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/util.h b/navit/util.h index 5bd9c30cc..1a3ef3ad1 100644 --- a/navit/util.h +++ b/navit/util.h @@ -23,6 +23,8 @@ #include <ctype.h> #include "config.h" +#define MIN(x, y) ((x < y) ? x : y) + void strtoupper(char *dest, const char *src); void strtolower(char *dest, const char *src); int navit_utf8_strcasecmp(const char *s1, const char *s2); |