Jelajahi Sumber

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten 2 tahun lalu
induk
melakukan
f26a93211f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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>
 #include <sys/joystick.h>
 #endif
 #endif
 
 
-#if SDL_HAVE_MACHINE_JOYSTICK_H
+#ifdef SDL_HAVE_MACHINE_JOYSTICK_H
 #include <machine/joystick.h>
 #include <machine/joystick.h>
 #endif
 #endif