X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/660d641a03456e99ea83c68dbd3d03bae2b64573..16a372ab75c10b0ffb3786adc4029cd1df2f6066:/client/util.h?ds=inline diff --git a/client/util.h b/client/util.h index 1d410592..ce8876ed 100644 --- a/client/util.h +++ b/client/util.h @@ -16,8 +16,12 @@ #include #include -#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 int ukbhit(void);