X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHDS%2FSMESHDS_GroupOnFilter.cxx;fp=src%2FSMESHDS%2FSMESHDS_GroupOnFilter.cxx;h=93d3796eaba8ab95ef1c0039e631875f2d0d90d2;hb=46f1ca0181a2ab53d7d3b3f7e7d830206132e013;hp=7e1c79097bef9e8f2403827c60f1cc487df50aa7;hpb=03e125078a0eabb916d1d75be6c49bbab97a4898;p=modules%2Fsmesh.git diff --git a/src/SMESHDS/SMESHDS_GroupOnFilter.cxx b/src/SMESHDS/SMESHDS_GroupOnFilter.cxx index 7e1c79097..93d3796ea 100644 --- a/src/SMESHDS/SMESHDS_GroupOnFilter.cxx +++ b/src/SMESHDS/SMESHDS_GroupOnFilter.cxx @@ -395,6 +395,14 @@ void SMESHDS_GroupOnFilter::update() const //================================================================================ #ifdef WITH_TBB +#ifdef WIN32 +// See https://docs.microsoft.com/en-gb/cpp/porting/modifying-winver-and-win32-winnt?view=vs-2019 +// Windows 10 = 0x0A00 +#define WINVER 0x0A00 +#define _WIN32_WINNT 0x0A00 + +#endif + #include #include "tbb/enumerable_thread_specific.h"