Index: third_party/libusb/msvc/config.h |
diff --git a/third_party/libusb/msvc/config.h b/third_party/libusb/msvc/config.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ac6134cfea0d93c0fc3e6f472e2bc2edf25969f |
--- /dev/null |
+++ b/third_party/libusb/msvc/config.h |
@@ -0,0 +1,23 @@ |
+/* config.h. Manual config for MSVC. */ |
+ |
+#ifndef _MSC_VER |
+#warn "msvc/config.h shouldn't be included for your development environment." |
+#error "Please make sure the msvc/ directory is removed from your build path." |
+#endif |
+ |
+/* Default visibility */ |
+#define DEFAULT_VISIBILITY /**/ |
+ |
+/* Debug message logging */ |
+//#define ENABLE_DEBUG_LOGGING 1 |
+ |
+/* Message logging */ |
+#define ENABLE_LOGGING 1 |
+ |
+/* Windows backend */ |
+#define OS_WINDOWS 1 |
+ |
+/* type of second poll() argument */ |
+#define POLL_NFDS_TYPE unsigned int |
+ |
+#include <Winsock2.h> |