瀏覽代碼

SDL_bsdjoystick: fix -Wundef warning on FreeBSD

Anonymous Maarten 1 年之前
父節點
當前提交
4940b5dbc2
共有 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