Windows: Fix a MinGW compilation issue
[platform/upstream/libusb.git] / libusb / os / windows_usb.h
index 5d67a56..14ee422 100644 (file)
 #define SPDRP_INSTALL_STATE    34
 #endif
 
+// Missing from MinGW
+#if !defined(FACILITY_SETUPAPI)
+#define FACILITY_SETUPAPI      15
+#endif
+
 #if defined(__CYGWIN__ )
 #define _stricmp stricmp
 // cygwin produces a warning unless these prototypes are defined