소스 검색

SDL_bsdjoystick: fix OpenBSD build error due to -Wundef

Ozkan Sezer 3 달 전
부모
커밋
07274fea58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/joystick/bsd/SDL_bsdjoystick.c

+ 1 - 1
src/joystick/bsd/SDL_bsdjoystick.c

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