diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp b/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp index 121b6872ab3..be7c3b9c2f9 100644 --- a/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp +++ b/chromium/third_party/WebKit/Source/wtf/PageAllocator.cpp @@ -39,6 +39,11 @@ #include <sys/mman.h> +#if OS(LINUX) && defined(MADV_FREE) +// Added in Linux 4.5, but we don't want to depend on 4.5 at runtime +#undef MADV_FREE +#endif + #ifndef MADV_FREE #define MADV_FREE MADV_DONTNEED #endif |