From 67f65336d50d19337ee3b1c06d222a09adf14dfb Mon Sep 17 00:00:00 2001 From: ousnius Date: Sat, 8 Oct 2016 14:45:36 +0200 Subject: [PATCH] Removed multi-threaded batch build for 32-bit builds --- src/program/BodySlideApp.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/program/BodySlideApp.cpp b/src/program/BodySlideApp.cpp index 46e04f2d..58a0f9e8 100644 --- a/src/program/BodySlideApp.cpp +++ b/src/program/BodySlideApp.cpp @@ -18,9 +18,11 @@ along with this program. If not, see . #include "BodySlideApp.h" -#ifdef _WIN32 +#ifdef WIN64 #include #include +#else + #undef _PPL_H #endif ConfigurationManager Config; @@ -1597,15 +1599,13 @@ int BodySlideApp::BuildListBodies(vector& outfitList, map failedOutfitsCon; concurrency::parallel_for_each(outfitList.begin(), outfitList.end(), [&](const string& outfit) #else + #define return continue unordered_map failedOutfitsCon; for (auto &outfit : outfitList) #endif @@ -1855,7 +1855,8 @@ int BodySlideApp::BuildListBodies(vector& outfitList, mapUpdate(1000);