SDL_bsdjoystick: fix OpenBSD build error due to -Wundef

(cherry picked from commit 07274fea58)
This commit is contained in:
Ozkan Sezer
2026-01-30 01:20:28 +03:00
parent ba6b629a46
commit 7c79649244

View File

@@ -78,7 +78,7 @@
#include "../SDL_joystick_c.h"
#include "../hidapi/SDL_hidapijoystick_c.h"
#if defined(__FREEBSD__) || SDL_HAVE_MACHINE_JOYSTICK_H || defined(__FreeBSD_kernel__) || defined(__DragonFly_)
#if defined(__FREEBSD__) || defined(SDL_HAVE_MACHINE_JOYSTICK_H) || defined(__FreeBSD_kernel__) || defined(__DragonFly_)
#define SUPPORT_JOY_GAMEPORT
#endif