Salome HOME
PERSALYS : implement patch à la EDF - Test
[tools/sat_salome.git] / products / patches / embree-3.5.2-centos6.patch
1 diff -Naur embree_ref/common/sys/alloc.cpp embree/common/sys/alloc.cpp
2 --- embree_ref/common/sys/alloc.cpp     2019-07-22 14:41:16.045958480 +0200
3 +++ embree/common/sys/alloc.cpp 2019-07-22 14:42:13.162987513 +0200
4 @@ -22,7 +22,11 @@
5  ////////////////////////////////////////////////////////////////////////////////
6  /// All Platforms
7  ////////////////////////////////////////////////////////////////////////////////
8 -  
9 +
10 +#ifndef MAP_HUGETLB
11 +#define MAP_HUGETLB     0x40000         /* create a huge page mapping */
12 +#endif
13
14  namespace embree
15  {
16    void* alignedMalloc(size_t size, size_t align)