changeset 2508:f23cee9e16fc gsoc2008_force_feedback

Fixed some typos preventing SDL from compiling with the haptic dummy driver.
author Edgar Simo <bobbens@gmail.com>
date Wed, 09 Jul 2008 16:33:51 +0000
parents 8ef1d0f4d0c1
children 3b54b3a97046
files configure.in src/haptic/dummy/SDL_syshaptic.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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"