aboutsummaryrefslogtreecommitdiff
path: root/tools/create_msvc
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-01 23:50:32 +0000
committerAlejandro Marzini2010-07-01 23:50:32 +0000
commit055fc3282f73bd9aa64cec2661258d3baf5ec66e (patch)
treefc4dc1be750f191c4edea049b785a9e92b5a2270 /tools/create_msvc
parenta35db656d338525c86045d093a7230e110eff5a7 (diff)
downloadscummvm-rg350-055fc3282f73bd9aa64cec2661258d3baf5ec66e.tar.gz
scummvm-rg350-055fc3282f73bd9aa64cec2661258d3baf5ec66e.tar.bz2
scummvm-rg350-055fc3282f73bd9aa64cec2661258d3baf5ec66e.zip
Added WIN32 define for makefile conditions.
svn-id: r50585
Diffstat (limited to 'tools/create_msvc')
-rw-r--r--tools/create_msvc/create_msvc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/create_msvc/create_msvc.cpp b/tools/create_msvc/create_msvc.cpp
index f418971239..a78c9c46a1 100644
--- a/tools/create_msvc/create_msvc.cpp
+++ b/tools/create_msvc/create_msvc.cpp
@@ -485,6 +485,9 @@ int main(int argc, char *argv[]) {
StringList featureDefines = getFeatureDefines(setup.features);
setup.defines.splice(setup.defines.begin(), featureDefines);
+ // Add WIN32 define
+ setup.defines.push_back("WIN32");
+
setup.libraries = getFeatureLibraries(setup.features);
setup.libraries.push_back("winmm.lib");