src/joystick/bsd/SDL_sysjoystick.c
branchSDL-1.2
changeset 6289 62ff1c0a103f
parent 6137 4720145f848b
child 6402 e786a4241cb5
     1.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Sat Feb 04 18:12:20 2012 -0500
     1.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Wed Feb 15 21:06:08 2012 -0500
     1.3 @@ -148,7 +148,7 @@
     1.4  static int	report_alloc(struct report *, struct report_desc *, int);
     1.5  static void	report_free(struct report *);
     1.6  
     1.7 -#if defined(USBHID_UCR_DATA) || defined(__FreeBSD_kernel__)
     1.8 +#if defined(USBHID_UCR_DATA)
     1.9  #define REP_BUF_DATA(rep) ((rep)->buf->ucr_data)
    1.10  #elif (defined(__FREEBSD__) && (__FreeBSD_kernel_version > 800063))
    1.11  #define REP_BUF_DATA(rep) ((rep)->buf->ugd_data)