Salome HOME
Ensure cmake_build_type is used in SALOME 9.12.0
[tools/sat_salome.git] / products / patches / tbb-2019_U8_windows10_GUI.patch
1 diff -Naur tbb-2019_U8_ref/include/tbb/internal/_tbb_windef.h tbb-2019_U8_dev/include/tbb/internal/_tbb_windef.h
2 --- tbb-2019_U8_ref/include/tbb/internal/_tbb_windef.h  2019-06-06 12:29:15.000000000 +0200
3 +++ tbb-2019_U8_dev/include/tbb/internal/_tbb_windef.h  2023-05-11 16:36:53.677510682 +0200
4 @@ -20,6 +20,10 @@
5  
6  // Check that the target Windows version has all API calls required for TBB.
7  // Do not increase the version in condition beyond 0x0500 without prior discussion!
8 +#if defined(_WIN32_WINNT) 
9 +#undef _WIN32_WINNT  
10 +#define _WIN32_WINNT 0x0501
11 +#endif
12  #if defined(_WIN32_WINNT) && _WIN32_WINNT<0x0501
13  #error TBB is unable to run on old Windows versions; _WIN32_WINNT must be 0x0501 or greater.
14  #endif