diff src/haptic/darwin/SDL_syshaptic.c @ 3048:b717ce4dfe36

Fixed compilation on Mac OS X 10.3.9
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Jan 2009 15:15:03 +0000
parents 8cc00819c8d6
children
line wrap: on
line diff
--- a/src/haptic/darwin/SDL_syshaptic.c	Mon Jan 19 07:35:52 2009 +0000
+++ b/src/haptic/darwin/SDL_syshaptic.c	Mon Jan 19 15:15:03 2009 +0000
@@ -35,6 +35,9 @@
 #include <ForceFeedback/ForceFeedback.h>
 #include <ForceFeedback/ForceFeedbackConstants.h>
 
+#ifndef IO_OBJECT_NULL
+#define IO_OBJECT_NULL	((io_service_t)0)
+#endif
 
 #define MAX_HAPTICS  32