Преглед изворни кода

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten пре 1 година
родитељ
комит
f26a93211f
1 измењених фајлова са 1 додато и 1 уклоњено
  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