Commit ce21b373 authored by Sam Lantinga's avatar Sam Lantinga

Fixed undefined references to joystick code

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403574
parent 107632a2
...@@ -2916,8 +2916,8 @@ esac ...@@ -2916,8 +2916,8 @@ esac
# Verify that we have all the platform specific files we need # Verify that we have all the platform specific files we need
if test x$enable_joystick = xyes; then if test x$have_joystick != xyes; then
if test x$have_joystick != xyes; then if test x$enable_joystick = xyes; then
AC_DEFINE(SDL_JOYSTICK_DISABLED) AC_DEFINE(SDL_JOYSTICK_DISABLED)
fi fi
SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c" SOURCES="$SOURCES $srcdir/src/joystick/dummy/*.c"
......
...@@ -87,4 +87,5 @@ SDL_SYS_JoystickQuit(void) ...@@ -87,4 +87,5 @@ SDL_SYS_JoystickQuit(void)
} }
#endif /* SDL_JOYSTICK_DUMMY || SDL_JOYSTICK_DISABLED */ #endif /* SDL_JOYSTICK_DUMMY || SDL_JOYSTICK_DISABLED */
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment