CREATE_PROJECT: Disable the WIN32-define when creating an XCode-project.

This commit is contained in:
Einar Johan Trøan Sømåen 2015-04-04 18:40:50 +02:00
parent 7052823969
commit 8af5d6e722

View file

@ -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";