Skip to content

Commit

Permalink
CREATE_PROJECT: Define MACOSX and POSIX in XCode-projects for now (ig…
Browse files Browse the repository at this point in the history
…noring iOS for the moment)
  • Loading branch information
somaen committed Apr 9, 2015
1 parent 8cd84a0 commit 484ad4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devtools/create_project/create_project.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 484ad4d

Please sign in to comment.