aboutsummaryrefslogtreecommitdiff
path: root/usbhid.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-06-14 23:38:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-06-14 23:38:05 +0000
commitea77d3ecd01ab62271e7ed84fd39b9a842835455 (patch)
treea488875f3bf9ea0422be6b3a0abf0333a13dcc28 /usbhid.c
parent840f19a55cf2e66cffaf296d5cccf72cb143e76f (diff)
ported [stat] to MinGW; #ifdef'ed out uname since there is no unam
e with MinGW; ifdefed out [usbhid] since libhid hasn't been ported to MinGW yet svn path=/trunk/externals/hcs/; revision=5238
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 */