X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fc249a8e13faa79023f32fb0fe1ddde62d9cc94f..b642ce7ab58f1f91dc2edc04fbe6f2bf4f8b9afd:/include/hitag2.h diff --git a/include/hitag2.h b/include/hitag2.h index 00447623..66770d98 100644 --- a/include/hitag2.h +++ b/include/hitag2.h @@ -13,6 +13,12 @@ #ifndef _HITAG2_H_ #define _HITAG2_H_ +#ifdef _MSC_VER +#define PACKED +#else +#define PACKED __attribute__((packed)) +#endif + typedef enum { RHTSF_CHALLENGE = 01, RHTSF_KEY = 02,