From 5ab7b26c3461594f9d39472b38f74a10b1006b29 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 19 Jan 2009 15:15:03 +0000 Subject: [PATCH] Fixed compilation on Mac OS X 10.3.9 --- src/haptic/darwin/SDL_syshaptic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/haptic/darwin/SDL_syshaptic.c b/src/haptic/darwin/SDL_syshaptic.c index 96d678eb4..c5b1e54b9 100644 --- a/src/haptic/darwin/SDL_syshaptic.c +++ b/src/haptic/darwin/SDL_syshaptic.c @@ -35,6 +35,9 @@ #include #include +#ifndef IO_OBJECT_NULL +#define IO_OBJECT_NULL ((io_service_t)0) +#endif #define MAX_HAPTICS 32