diff options
author | Johannes Schickel | 2011-01-16 19:38:22 +0000 |
---|---|---|
committer | Johannes Schickel | 2011-01-16 19:38:22 +0000 |
commit | c0434258f9459187711ab24bd1441567c5675bb7 (patch) | |
tree | 88df81bb528b8597b4f013d1b425afaf3e284211 | |
parent | 84cda62d1f91899674dc3458b21fa66dbdc2935c (diff) | |
download | scummvm-rg350-c0434258f9459187711ab24bd1441567c5675bb7.tar.gz scummvm-rg350-c0434258f9459187711ab24bd1441567c5675bb7.tar.bz2 scummvm-rg350-c0434258f9459187711ab24bd1441567c5675bb7.zip |
TOOLS: Fix Win64 MSVC project files.
This is done by adding the "SDL_BACKEND" define to x64 MSVC project files, otherwise linker errors would occur, since certain SDL code would not get compiled.
svn-id: r55266
-rw-r--r-- | tools/create_project/msvc.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/create_project/msvc.cpp b/tools/create_project/msvc.cpp index fa1e405557..9745cffdd2 100644 --- a/tools/create_project/msvc.cpp +++ b/tools/create_project/msvc.cpp @@ -139,6 +139,10 @@ void MSVCProvider::createGlobalProp(const BuildSetup &setup) { StringList x64EngineDefines = getEngineDefines(setup.engines); x64Defines.splice(x64Defines.end(), x64EngineDefines); + // HACK: This definitly should not be here, but otherwise we would not define SDL_BACKEND for x64. + x64Defines.push_back("WIN32"); + x64Defines.push_back("SDL_BACKEND"); + outputGlobalPropFile(properties, 64, x64Defines, convertPathToWin(setup.filePrefix)); } |