Skip to content
Snippets Groups Projects
Commit a19aa8c7 authored by Alexandr Mruchok's avatar Alexandr Mruchok
Browse files

[+] POSIX_MADV_DONTNEED definition for POSIX

parent ba3e1eed
No related branches found
No related tags found
2 merge requests!28Feature 2648,!25Feature 2648
......@@ -53,6 +53,11 @@ extern "C" {
//! Flag to rpaligned_realloc to not preserve content in reallocation
#define RPMALLOC_NO_PRESERVE 1
//redefinition from mman-linux.h For POSIX
#ifndef POSIX_MADV_DONTNEED
#define POSIX_MADV_DONTNEED 4/* Don't need these pages. */
#endif
typedef struct rpmalloc_global_statistics_t {
//! Current amount of virtual memory mapped, all of which might not have been committed (only if ENABLE_STATISTICS=1)
size_t mapped;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment