summaryrefslogtreecommitdiffstats
path: root/third_party/libusb/msvc/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libusb/msvc/config.h')
-rw-r--r--third_party/libusb/msvc/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/libusb/msvc/config.h b/third_party/libusb/msvc/config.h
new file mode 100644
index 0000000..9ac6134
--- /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>