]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
'hf 14a apdu' improvement
[proxmark3-svn] / client / util.h
index 18482dfe6186fb4e0c8647f0c1ffd0fc5119b427..5f3335ac5a9d4e43335dbbc6a13a7af385f9e5d9 100644 (file)
 #include <stdbool.h>
 #include <stddef.h>
 
+#ifdef _MSC_VER
+#define PACKED
+#else
+#define PACKED __attribute__((packed))
+#endif
+
 #ifndef ROTR
 # define ROTR(x,n) (((uintmax_t)(x) >> (n)) | ((uintmax_t)(x) << ((sizeof(x) * 8) - (n))))
 #endif
Impressum, Datenschutz