SDL_bsdjoystick.c: fix -Wundef warning.
parent
e761770c24
commit
94ad1a4ae4
|
@ -763,7 +763,7 @@ static int report_alloc(struct report *r, struct report_desc *rd, int repind)
|
||||||
|
|
||||||
#ifdef __DragonFly__
|
#ifdef __DragonFly__
|
||||||
len = hid_report_size(rd, repinfo[repind].kind, r->rid);
|
len = hid_report_size(rd, repinfo[repind].kind, r->rid);
|
||||||
#elif __FREEBSD__
|
#elif defined __FREEBSD__
|
||||||
#if (__FreeBSD_kernel_version >= 460000) || defined(__FreeBSD_kernel__)
|
#if (__FreeBSD_kernel_version >= 460000) || defined(__FreeBSD_kernel__)
|
||||||
#if (__FreeBSD_kernel_version <= 500111)
|
#if (__FreeBSD_kernel_version <= 500111)
|
||||||
len = hid_report_size(rd, r->rid, repinfo[repind].kind);
|
len = hid_report_size(rd, r->rid, repinfo[repind].kind);
|
||||||
|
|
Loading…
Reference in New Issue