tags 659615 patch
thanks

Here's a patch.  I've already submitted it upstream.

-- 
Robert Millan
=== modified file 'src/joystick/bsd/SDL_sysjoystick.c'
--- src/joystick/bsd/SDL_sysjoystick.c  2012-02-15 20:20:08 +0000
+++ src/joystick/bsd/SDL_sysjoystick.c  2012-02-15 20:21:01 +0000
@@ -148,7 +148,7 @@ static char *joydevnames[MAX_JOYS];
 static int     report_alloc(struct report *, struct report_desc *, int);
 static void    report_free(struct report *);
 
-#if defined(USBHID_UCR_DATA) || defined(__FreeBSD_kernel__)
+#if defined(USBHID_UCR_DATA)
 #define REP_BUF_DATA(rep) ((rep)->buf->ucr_data)
 #elif (defined(__FREEBSD__) && (__FreeBSD_kernel_version > 800063))
 #define REP_BUF_DATA(rep) ((rep)->buf->ugd_data)

Reply via email to