diff options
author | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-18 08:56:28 +0200 |
---|---|---|
committer | Sebastian Leske <sebastian.leske@sleske.name> | 2017-09-18 08:56:40 +0200 |
commit | d1da0aaa3097c3ab95363569df1cc23891c0dbe2 (patch) | |
tree | 8ad06aa8ab53081f3aa520e858365dd1ea53f14a /navit/util.h | |
parent | d749582394465ccbb24fcb742219989c69bb3e99 (diff) | |
download | navit-d1da0aaa3097c3ab95363569df1cc23891c0dbe2.tar.gz |
Fix:core:Remove unused macros min/max, which conflict with C++ standard macros.
Thanks to trldp for pointing this out in PR #312.
Diffstat (limited to 'navit/util.h')
-rw-r--r-- | navit/util.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/navit/util.h b/navit/util.h index 5beceb7b1..b7b60b533 100644 --- a/navit/util.h +++ b/navit/util.h @@ -23,9 +23,6 @@ #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); |