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);