X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/28fdb04fd8d62e46c36f959b373d662f1a146448..13dbdd6bb15850fa326930af324d2034a4547f9e:/include/common.h?ds=sidebyside diff --git a/include/common.h b/include/common.h index ba286377..71787b4f 100644 --- a/include/common.h +++ b/include/common.h @@ -18,7 +18,11 @@ #include typedef unsigned char byte_t; -#define MIN(a, b) (((a) < (b)) ? (a) : (b)) -#define MAX(a, b) (((a) > (b)) ? (a) : (b)) +#ifndef MIN +# define MIN(a, b) (((a) < (b)) ? (a) : (b)) +#endif +#ifndef MAX +# define MAX(a, b) (((a) > (b)) ? (a) : (b)) +#endif #endif