mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-10 20:06:27 +00:00
SDL_bsdjoystick.c: fix -Wundef warning.
This commit is contained in:
@@ -763,7 +763,7 @@ static int report_alloc(struct report *r, struct report_desc *rd, int repind)
|
||||
|
||||
#ifdef __DragonFly__
|
||||
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 <= 500111)
|
||||
len = hid_report_size(rd, r->rid, repinfo[repind].kind);
|
||||
|
Reference in New Issue
Block a user