comparison include/SDL_config_macos.h @ 1796:00ea6cf49a4e

Fixed bug #218 Currently there are two Classic-only drivers defined in "SDL_config_macos.h", and the ones in "SDL_config_macosx.h" are Mach-O/framework-only (i.e. not CFM) As a workaround, I disabled CDROM and JOYSTICK when building SDL for CFM Carbon.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 15:14:48 +0000
parents 2fe5319df0e1
children 3aecc9072edd
comparison
equal deleted inserted replaced
1795:398ac0f88e4d 1796:00ea6cf49a4e
71 #define SDL_AUDIO_DRIVER_SNDMGR 1 71 #define SDL_AUDIO_DRIVER_SNDMGR 1
72 #define SDL_AUDIO_DRIVER_DISK 1 72 #define SDL_AUDIO_DRIVER_DISK 1
73 #define SDL_AUDIO_DRIVER_DUMMY 1 73 #define SDL_AUDIO_DRIVER_DUMMY 1
74 74
75 /* Enable various cdrom drivers */ 75 /* Enable various cdrom drivers */
76 #define SDL_CDROM_MACOS 1 76 #if TARGET_API_MAC_CARBON
77 #define SDL_CDROM_DUMMY 1
78 #else
79 #define SDL_CDROM_MACOS 1
80 #endif
77 81
78 /* Enable various input drivers */ 82 /* Enable various input drivers */
83 #if TARGET_API_MAC_CARBON
84 #define SDL_JOYSTICK_DUMMY 1
85 #else
79 #define SDL_JOYSTICK_MACOS 1 86 #define SDL_JOYSTICK_MACOS 1
87 #endif
80 88
81 /* Enable various shared object loading systems */ 89 /* Enable various shared object loading systems */
82 #define SDL_LOADSO_MACOS 1 90 #define SDL_LOADSO_MACOS 1
83 91
84 /* Enable various threading systems */ 92 /* Enable various threading systems */