mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Fix windows compilation issues. But still not final. We should move to pthread and factorize the code with *nix). Ideally we should move to libusb-1.0 too.
This commit is contained in:
parent
3ec3a4724e
commit
91c38cf715
8 changed files with 30 additions and 40 deletions
|
@ -1,14 +1,10 @@
|
|||
#ifndef PROXUSB_H__
|
||||
#define PROXUSB_H__
|
||||
|
||||
#ifdef _MSC_VER
|
||||
typedef DWORD uint32_t;
|
||||
typedef BYTE uint8_t;
|
||||
typedef WORD uint16_t;
|
||||
#define bool BOOL
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#ifndef WIN32
|
||||
#include <usb.h>
|
||||
#endif
|
||||
#include "usb_cmd.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue