Fixed some typos preventing SDL from compiling with the haptic dummy driver. gsoc2008_force_feedback
authorEdgar Simo <bobbens@gmail.com>
Wed, 09 Jul 2008 16:33:51 +0000
branchgsoc2008_force_feedback
changeset 2508f23cee9e16fc
parent 2507 8ef1d0f4d0c1
child 2509 3b54b3a97046
Fixed some typos preventing SDL from compiling with the haptic dummy driver.
configure.in
src/haptic/dummy/SDL_syshaptic.c
     1.1 --- a/configure.in	Tue Jul 08 19:55:12 2008 +0000
     1.2 +++ b/configure.in	Wed Jul 09 16:33:51 2008 +0000
     1.3 @@ -239,7 +239,7 @@
     1.4  AC_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]),
     1.5                , enable_haptic=yes)
     1.6  if test x$enable_haptic != xyes; then
     1.7 -    AC_DEFINE(SDL_HAPTIC_DISABLE)
     1.8 +    AC_DEFINE(SDL_HAPTIC_DISABLED)
     1.9  else
    1.10      SOURCES="$SOURCES $srcdir/src/haptic/*.c"
    1.11  fi
     2.1 --- a/src/haptic/dummy/SDL_syshaptic.c	Tue Jul 08 19:55:12 2008 +0000
     2.2 +++ b/src/haptic/dummy/SDL_syshaptic.c	Wed Jul 09 16:33:51 2008 +0000
     2.3 @@ -21,7 +21,7 @@
     2.4  */
     2.5  #include "SDL_config.h"
     2.6  
     2.7 -#ifdef defined(SDL_HAPTIC_DUMMY) || defined(SDL_HAPTIC_DISABLED)
     2.8 +#if defined(SDL_HAPTIC_DUMMY) || defined(SDL_HAPTIC_DISABLED)
     2.9  
    2.10  #include "SDL_haptic.h"
    2.11  #include "../SDL_haptic_c.h"