We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 877 - sdl-mixer: add support for no-mmu linux systems that lack fork()
Summary: sdl-mixer: add support for no-mmu linux systems that lack fork()
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-05 09:11 UTC by Mike Frysinger
Modified: 2009-11-05 19:38 UTC (History)
0 users

See Also:


Attachments
detect cmd-music support dynamically (2.49 KB, application/octet-stream)
2009-11-05 09:11 UTC, Mike Frysinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2009-11-05 09:11:43 UTC
Created attachment 444 [details]
detect cmd-music support dynamically

the current code assumes "unix" means fork() exists.  this doesnt work for
no-mmu linux systems as fork() cant be implemented.

simple enough to add fork/vfork tests to configure and let the rest of the code
key off of CMD_MUSIC like normal -- no more needing to hardcode unix/mac-os-x
defines in the source.
Comment 1 Sam Lantinga 2009-11-05 19:38:15 UTC
Great patch, thanks!