]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxusb.h
Fix windows compilation issues. But still not final. We should move to pthread and...
[proxmark3-svn] / client / proxusb.h
index 4ee00750d316dafdafa44a32eba16636e954e33e..32a334c68edec7690796388d288c8e57d10d6b2d 100644 (file)
@@ -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"
 
Impressum, Datenschutz