X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b64712d7f9fdbdd5ebc41f1babc162045f9d943a..ab7bb4947515be233282a404fe2e84549aca9579:/client/util.h?ds=sidebyside diff --git a/client/util.h b/client/util.h index 446ec882..12f15929 100644 --- a/client/util.h +++ b/client/util.h @@ -17,6 +17,9 @@ #include #include "data.h" +#ifndef ROTR +# define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n)))) +#endif #ifndef MIN # define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif