Fixed compilation on Mac OS X 10.3.9
authorSam Lantinga <slouken@libsdl.org>
Mon, 19 Jan 2009 15:15:03 +0000
changeset 3048 b717ce4dfe36
parent 3047 4c092987234b
child 3049 ed67e93944b1
Fixed compilation on Mac OS X 10.3.9
src/haptic/darwin/SDL_syshaptic.c
--- 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