CREATE_PROJECT: Define MACOSX and POSIX in XCode-projects for now (ignoring iOS for the moment)

This commit is contained in:
Einar Johan Trøan Sømåen 2015-04-05 01:12:14 +02:00
parent 8cd84a0152
commit 484ad4dde7

View file

@ -338,6 +338,9 @@ int main(int argc, char *argv[]) {
// Windows only has support for the SDL backend, so we hardcode it here (along with winmm)
if (projectType != kProjectXcode) {
setup.defines.push_back("WIN32");
} else {
setup.defines.push_back("POSIX");
setup.defines.push_back("MACOSX"); // This will break iOS, but allows OS X to catch up on browser_osx.
}
setup.defines.push_back("SDL_BACKEND");
if (!useSDL2) {