mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 08:20:34 +05:00
Porting to latest TBB on Windows.
This commit is contained in:
parent
03e125078a
commit
46f1ca0181
@ -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 <tbb/parallel_for.h>
|
||||
#include "tbb/enumerable_thread_specific.h"
|
||||
|
||||
|
@ -91,6 +91,15 @@
|
||||
|
||||
//#undef WITH_TBB
|
||||
#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 <tbb/parallel_for.h>
|
||||
//#include <tbb/enumerable_thread_specific.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user