X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e0c635d19c58423d88ae698788a31c865e5554ab..3b33bda694bcd22e2ceb8c9ff052f8fd4b81e3e8:/client/util.h diff --git a/client/util.h b/client/util.h index 22e83471..ce8876ed 100644 --- a/client/util.h +++ b/client/util.h @@ -16,6 +16,13 @@ #include #include +#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); void AddLogLine(char *fileName, char *extData, char *c);