| Summary: | 64-bit expects mForkRefNum to be int | ||
|---|---|---|---|
| Product: | SDL | Reporter: | C.W. Betts <computers57> |
| Component: | cdrom | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | CC: | computers57 |
| Version: | 1.2.14 | Keywords: | target-1.2.14 |
| Hardware: | x86_64 | ||
| OS: | Mac OS X 10.6 | ||
| Attachments: |
patch to make CD work on OS X
Fix CD player on 64-bit Mac |
||
Created attachment 430 [details]
Fix CD player on 64-bit Mac
heh, whoops! This patch actually does fix the issue and compiles.
Thanks! Your fix is in for release. |
Created attachment 429 [details] patch to make CD work on OS X In 64-bit libraries, the fork reference is a different size than in 32-bit. Apple has tried to help this transition by making a typedef called FSIORefNum, but it is only available in Mac OS X 10.5 headers or later. I first noticed this bug in Mac OS X's CD player code, and the patch is set to fix it accordingly. This might also be an issue in SDL_QuartzVideo.m