aboutsummaryrefslogtreecommitdiff
path: root/tools/create_project
diff options
context:
space:
mode:
Diffstat (limited to 'tools/create_project')
-rw-r--r--tools/create_project/create_project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/create_project/create_project.cpp b/tools/create_project/create_project.cpp
index 904452cf84..fc3670d746 100644
--- a/tools/create_project/create_project.cpp
+++ b/tools/create_project/create_project.cpp
@@ -274,6 +274,7 @@ 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");
setup.defines.push_back("SDL_BACKEND");
setup.libraries.push_back("sdl");
setup.libraries.push_back("winmm");