aboutsummaryrefslogtreecommitdiff
path: root/backend/ninja
diff options
context:
space:
mode:
Diffstat (limited to 'backend/ninja')
-rw-r--r--backend/ninja/Ninja.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 227a179..871234c 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -478,17 +478,18 @@ namespace backend
defines += " ";
defines += getDefineFlag(config.getCompiler(), definePair.first, definePair.second);
}
-
+
+#if OS_TYPE == OS_TYPE_WINDOWS
switch (SYSTEM_PLATFORM)
{
case PLATFORM_WIN64:
defines += " /DWIN64 /D_WIN64";
+ // fallthrough
case PLATFORM_WIN32:
defines += " /DWIN32 /D_WIN32";
break;
}
-#if OS_TYPE == OS_TYPE_WINDOWS
switch(libraryType)
{
case LibraryType::EXECUTABLE: