mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
add the definition of PACKED in its client/deprecated-hid-flasher/flasher/proxmark3.h
This commit is contained in:
parent
20d13d5509
commit
12c6b5cb20
3 changed files with 14 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
#ifndef __ELF_H__
|
||||
#define __ELF_H__
|
||||
|
||||
#include "common.h"
|
||||
#include "proxmark3.h"
|
||||
|
||||
typedef struct {
|
||||
uint32_t p_type;
|
||||
|
|
|
@ -14,4 +14,16 @@
|
|||
|
||||
#define PROXPROMPT "proxmark3> "
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef DWORD uint32_t;
|
||||
typedef BYTE uint8_t;
|
||||
#define PACKED
|
||||
// stuff
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#define PACKED __attribute__((packed))
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#ifndef __USB_CMD_H
|
||||
#define __USB_CMD_H
|
||||
|
||||
#include "common.h"
|
||||
#include "proxmark3.h"
|
||||
|
||||
typedef struct {
|
||||
uint32_t cmd;
|
||||
|
|
Loading…
Reference in a new issue