aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");