Browse Source

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten 1 năm trước cách đây
mục cha
commit
f26a93211f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/joystick/bsd/SDL_bsdjoystick.c

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

@@ -69,7 +69,7 @@
 #include <sys/joystick.h>
 #endif
 
-#if SDL_HAVE_MACHINE_JOYSTICK_H
+#ifdef SDL_HAVE_MACHINE_JOYSTICK_H
 #include <machine/joystick.h>
 #endif