]> SALOME platform Git repositories - tools/configuration.git/blob - config/patches/embree.001_centos6.patch
Salome HOME
bos #23972 [CEA 19980] sphinxcontrib_napoleon is not needed with Sphinx >= 1.3
[tools/configuration.git] / config / patches / embree.001_centos6.patch
1 diff -Naur embree-3.5.2_SRC_orig/common/sys/alloc.cpp embree-3.5.2_SRC_modif/common/sys/alloc.cpp
2 --- embree-3.5.2_SRC_orig/common/sys/alloc.cpp  2019-03-13 14:13:56.000000000 +0300
3 +++ embree-3.5.2_SRC_modif/common/sys/alloc.cpp 2019-07-23 12:59:36.127707285 +0300
4 @@ -22,6 +22,10 @@
5  ////////////////////////////////////////////////////////////////////////////////
6  /// All Platforms
7  ////////////////////////////////////////////////////////////////////////////////
8 +
9 +#ifndef MAP_HUGETLB
10 +#define MAP_HUGETLB     0x40000         /* create a huge page mapping */
11 +#endif
12    
13  namespace embree
14  {