aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2015-04-05 01:12:14 +0200
committerEinar Johan Trøan Sømåen2015-04-09 20:02:17 +0200
commit484ad4dde7a92c1c2cc4859601da94c66a940a5e (patch)
tree313f8fe0da3e2f2edceab82c1e6730b5fd56efea
parent8cd84a0152955c1413e3360ec4e8bd5558648187 (diff)
downloadscummvm-rg350-484ad4dde7a92c1c2cc4859601da94c66a940a5e.tar.gz
scummvm-rg350-484ad4dde7a92c1c2cc4859601da94c66a940a5e.tar.bz2
scummvm-rg350-484ad4dde7a92c1c2cc4859601da94c66a940a5e.zip
CREATE_PROJECT: Define MACOSX and POSIX in XCode-projects for now (ignoring iOS for the moment)
-rw-r--r--devtools/create_project/create_project.cpp3
1 files changed, 3 insertions, 0 deletions
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) {