Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 594070
Collapse All | Expand All

(-)a/third_party/WebKit/Source/wtf/allocator/PageAllocator.cpp (+5 lines)
Lines 41-46 Link Here
41
#include <errno.h>
41
#include <errno.h>
42
#include <sys/mman.h>
42
#include <sys/mman.h>
43
43
44
#if OS(LINUX) && defined(MADV_FREE)
45
// Added in Linux 4.5, but it breaks the sandbox.
46
#undef MADV_FREE
47
#endif
48
44
#ifndef MADV_FREE
49
#ifndef MADV_FREE
45
#define MADV_FREE MADV_DONTNEED
50
#define MADV_FREE MADV_DONTNEED
46
#endif
51
#endif

Return to bug 594070