# HG changeset patch # User Edgar Simo # Date 1215621231 0 # Node ID f23cee9e16fc47e255ded0df130f9f21876f70d9 # Parent 8ef1d0f4d0c19eb29b79f6b577401ee52639f133 Fixed some typos preventing SDL from compiling with the haptic dummy driver. diff -r 8ef1d0f4d0c1 -r f23cee9e16fc configure.in --- a/configure.in Tue Jul 08 19:55:12 2008 +0000 +++ b/configure.in Wed Jul 09 16:33:51 2008 +0000 @@ -239,7 +239,7 @@ AC_HELP_STRING([--enable-haptic], [Enable the haptic (force feedback) subsystem [[default=yes]]]), , enable_haptic=yes) if test x$enable_haptic != xyes; then - AC_DEFINE(SDL_HAPTIC_DISABLE) + AC_DEFINE(SDL_HAPTIC_DISABLED) else SOURCES="$SOURCES $srcdir/src/haptic/*.c" fi diff -r 8ef1d0f4d0c1 -r f23cee9e16fc src/haptic/dummy/SDL_syshaptic.c --- a/src/haptic/dummy/SDL_syshaptic.c Tue Jul 08 19:55:12 2008 +0000 +++ b/src/haptic/dummy/SDL_syshaptic.c Wed Jul 09 16:33:51 2008 +0000 @@ -21,7 +21,7 @@ */ #include "SDL_config.h" -#ifdef defined(SDL_HAPTIC_DUMMY) || defined(SDL_HAPTIC_DISABLED) +#if defined(SDL_HAPTIC_DUMMY) || defined(SDL_HAPTIC_DISABLED) #include "SDL_haptic.h" #include "../SDL_haptic_c.h"