]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/hitag2.h
make hardnested compile on gcc 4.9.2
[proxmark3-svn] / include / hitag2.h
index 00447623043f8524ea989e43227f0e67606e9f0c..66770d98c5ee0610b4f796a323d19d90961a4481 100644 (file)
 #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,
Impressum, Datenschutz