# HG changeset patch # User Sam Lantinga # Date 1232378103 0 # Node ID b717ce4dfe368fd1a117daed23659d025cd3ebb8 # Parent 4c092987234bc5f215d85291930bbf8eb1d836fc Fixed compilation on Mac OS X 10.3.9 diff -r 4c092987234b -r b717ce4dfe36 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 #include +#ifndef IO_OBJECT_NULL +#define IO_OBJECT_NULL ((io_service_t)0) +#endif #define MAX_HAPTICS 32