Ivan Savenko vor 7 Monaten
Ursprung
Commit
4e440e19a7
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5 0
      Global.h

+ 5 - 0
Global.h

@@ -145,6 +145,11 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
 #include <variant>
 #include <vector>
 
+// VCMI requires features that were added to TBB 2021.4
+// However, until TBB 2021.7 they were only available with this define
+// For versions TBB 2021.7 and later this define is not required
+#define TBB_PREVIEW_TASK_GROUP_EXTENSIONS 1
+
 //The only available version is 3, as of Boost 1.50
 #include <boost/version.hpp>