From 484ad4dde7a92c1c2cc4859601da94c66a940a5e Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Sun, 5 Apr 2015 01:12:14 +0200 Subject: CREATE_PROJECT: Define MACOSX and POSIX in XCode-projects for now (ignoring iOS for the moment) --- devtools/create_project/create_project.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index 7b55446b57..4113d6c83e 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -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) { -- cgit v1.2.3