New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add basic Mac OS X support #527
Conversation
I don't think this should be merged in to master. |
@Jookia right, but you can test this patches and it will stay on my branch. I could push this branch to lodle if you want. |
I could also split this into more pull request to separate trivial things from complex ones |
I've tested it on Mac OS X 10.7, which is farily new, don't know if we can use it on 10.8
we need this on Mac OS X and Linux, maybe on other system later, too. Do surround it with an #ifndef instead #ifdef NIX
First and great step to support OSX 👍 |
Why closed? |
I removed my branch, because I have a newer one https://github.com/karolherbst/Desurium/tree/apple2 |
I worked a bit on compile compatibility with Mac OS X.
Here is the result.
I also change some handling with the binary type of binaries and moved some util methods from UTIL::LIN to UTIL::OS and UTIL::UNIX (new UTIL namespace for UNIX based systems).
Some methods aren't implemented for Mac OS X, but they will print out a warning if called.
Currently nearly nothing works, though you can launch desurium and the login screen will come up.
Also the 10.7 SDK is required.