From 182eefe8606722fef8222d3b85a70eeb2ba6f84d 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403511 --- 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