diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-07-22 12:27:43 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:32 +0200 |
commit | 531d05df58bcb20e051c6ebe77c6583322b84dcb (patch) | |
tree | 7e3c8022e34de1201917fda2c69c1b5104af0231 /backend/ninja | |
parent | 9f8a0848351f35e80e9efb73427f27687daa9500 (diff) |
Change packages.json location to gitlab
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 5 |
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: |