| Summary: | SDL_config_macos.h and Carbon | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Anders F Bj <afb> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | PowerPC | ||
| OS: | Mac OS X (All) | ||
| Bug Depends on: | |||
| Bug Blocks: | 53 | ||
| Attachments: | SDL12-macconfig.patch | ||
|
Description
Anders F Bj
2006-05-09 05:54:04 UTC
Created attachment 115 [details]
SDL12-macconfig.patch
Comment on attachment 115 [details]
SDL12-macconfig.patch
Index: include/SDL_config_macos.h
===================================================================
RCS file: /home/sdlweb/libsdl.org/cvs/SDL12/include/SDL_config_macos.h,v
retrieving revision 1.10
diff -u -r1.10 SDL_config_macos.h
--- include/SDL_config_macos.h 12 Apr 2006 14:38:47 -0000 1.10
+++ include/SDL_config_macos.h 9 May 2006 10:09:19 -0000
@@ -73,10 +73,18 @@
#define SDL_AUDIO_DRIVER_DUMMY 1
/* Enable various cdrom drivers */
+#if TARGET_API_MAC_CARBON
+#define SDL_CDROM_DUMMY 1
+#else
#define SDL_CDROM_MACOS 1
+#endif
/* Enable various input drivers */
+#if TARGET_API_MAC_CARBON
+#define SDL_JOYSTICK_DUMMY 1
+#else
#define SDL_JOYSTICK_MACOS 1
+#endif
/* Enable various shared object loading systems */
#define SDL_LOADSO_MACOS 1
the really old builds didn't have "TARGET_API_MACOS8" set, so I reversed the logic in the conditionals to leave it out. This patch is in Subversion, thanks! BTW, did you know you can edit one patch to obsolete it, and then attach a new patch? I manually added the second version that you entered, so it's fine. Yeah, I was kinda hoping it would edit/replace the first patch but in retrospect I should have just added the new one as a new attachment and obsoleted the old... Thanks. |