changeset 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 4c092987234b
children ed67e93944b1
files src/haptic/darwin/SDL_syshaptic.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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