]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
FIX: coverty scan reveals some resourceleaks and overruns, which is supposed to...
[proxmark3-svn] / client / util.h
index 446ec88216b7e1785e7154dcc97f553485a1471e..12f1592974b05b981307053dc196803be4e643f7 100644 (file)
@@ -17,6 +17,9 @@
 #include <time.h>
 #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
Impressum, Datenschutz