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:
izsh@fail0verflow.com committed 2010-02-20 00:36:48 +00:00
1 parent 3ec3a4724e
commit 91c38cf715
8 files changed
+30 -40

No files matched your search

+2 -6
View 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"