SDL_bsdjoystick.c: fix -Wundef warning.

main
Ozkan Sezer 2023-11-22 01:56:10 +03:00
parent e761770c24
commit 94ad1a4ae4
1 changed files with 3 additions and 3 deletions

View File

@ -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);