Fixed compilation on Mac OS X 10.3.9
authorSam Lantinga <slouken@libsdl.org>
Mon, 19 Jan 2009 15:15:03 +0000
changeset 3048b717ce4dfe36
parent 3047 4c092987234b
child 3049 ed67e93944b1
Fixed compilation on Mac OS X 10.3.9
src/haptic/darwin/SDL_syshaptic.c
     1.1 --- a/src/haptic/darwin/SDL_syshaptic.c	Mon Jan 19 07:35:52 2009 +0000
     1.2 +++ b/src/haptic/darwin/SDL_syshaptic.c	Mon Jan 19 15:15:03 2009 +0000
     1.3 @@ -35,6 +35,9 @@
     1.4  #include <ForceFeedback/ForceFeedback.h>
     1.5  #include <ForceFeedback/ForceFeedbackConstants.h>
     1.6  
     1.7 +#ifndef IO_OBJECT_NULL
     1.8 +#define IO_OBJECT_NULL	((io_service_t)0)
     1.9 +#endif
    1.10  
    1.11  #define MAX_HAPTICS  32
    1.12