2
0
Эх сурвалжийг харах

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten 1 жил өмнө
parent
commit
f26a93211f

+ 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