summaryrefslogtreecommitdiff
path: root/libusb/os/windows_winusb.h
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2016-03-03 00:20:33 -0800
committerChris Dickens <christopher.a.dickens@gmail.com>2016-03-03 00:20:33 -0800
commit31ff09c35a582cc6870dfd2c9924d62e79d2f933 (patch)
tree771f20fd62b9b99a34f33538cdd9bacb0d3c91d4 /libusb/os/windows_winusb.h
parent765a1fbf8b80c62b98e05e6d89cbe5fe32d76169 (diff)
downloadlibusb-31ff09c35a582cc6870dfd2c9924d62e79d2f933.tar.gz
Windows: Fix MinGW build
The integration of UsbDk moved the windows_error_str() function to windows_nt_common.c, but the definition of FACILITY_SETUPAPI (which MinGW headers do not provide) did not follow the move. Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'libusb/os/windows_winusb.h')
-rw-r--r--libusb/os/windows_winusb.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libusb/os/windows_winusb.h b/libusb/os/windows_winusb.h
index d544a7f..303f4a6 100644
--- a/libusb/os/windows_winusb.h
+++ b/libusb/os/windows_winusb.h
@@ -43,11 +43,6 @@
#define SPDRP_INSTALL_STATE 34
#endif
-// Missing from MinGW
-#if !defined(FACILITY_SETUPAPI)
-#define FACILITY_SETUPAPI 15
-#endif
-
#define MAX_CTRL_BUFFER_LENGTH 4096
#define MAX_USB_DEVICES 256
#define MAX_USB_STRING_LENGTH 128