diff options
author | Einar Johan Trøan Sømåen | 2015-04-04 18:40:50 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2015-04-09 20:02:16 +0200 |
commit | 8af5d6e72208e96930f37f6442de71a81e8019cc (patch) | |
tree | f6dc811335266043e6e8d9ed84b6ebd05e4a7fec /devtools/create_project | |
parent | 7052823969df356b9567358d52e8012bb5459c86 (diff) | |
download | scummvm-rg350-8af5d6e72208e96930f37f6442de71a81e8019cc.tar.gz scummvm-rg350-8af5d6e72208e96930f37f6442de71a81e8019cc.tar.bz2 scummvm-rg350-8af5d6e72208e96930f37f6442de71a81e8019cc.zip |
CREATE_PROJECT: Disable the WIN32-define when creating an XCode-project.
Diffstat (limited to 'devtools/create_project')
-rw-r--r-- | devtools/create_project/create_project.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp index ffaa4274f4..43d3df1702 100644 --- a/devtools/create_project/create_project.cpp +++ b/devtools/create_project/create_project.cpp @@ -336,7 +336,9 @@ int main(int argc, char *argv[]) { setup.defines.splice(setup.defines.begin(), featureDefines); // Windows only has support for the SDL backend, so we hardcode it here (along with winmm) - setup.defines.push_back("WIN32"); + if (projectType != kProjectXcode) { + setup.defines.push_back("WIN32"); + } setup.defines.push_back("SDL_BACKEND"); if (!useSDL2) { cout << "\nLinking to SDL 1.2\n\n"; |