aboutsummaryrefslogtreecommitdiff
path: root/usbhid.c
diff options
context:
space:
mode:
Diffstat (limited to 'usbhid.c')
-rw-r--r--usbhid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usbhid.c b/usbhid.c
index c129000..5fc069f 100644
--- a/usbhid.c
+++ b/usbhid.c
@@ -23,6 +23,9 @@
/* */
/* --------------------------------------------------------------------------*/
+/* libhid hasn't been ported to Win32 yet */
+#ifndef _WIN32
+
#include <usb.h>
#include <hid.h>
#include <stdio.h>
@@ -776,3 +779,4 @@ void usbhid_setup(void)
class_addmethod(usbhid_class,(t_method) usbhid_close,gensym("close"),0);
}
+#endif /* NOT _WIN32 */