Skip to content

Commit

Permalink
Fallback for MADV_GUARD_* definitions
Browse files Browse the repository at this point in the history
Reviewed-by: Petr Vorel <[email protected]>
Signed-off-by: Andrea Cervesato <[email protected]>
  • Loading branch information
acerv committed Dec 11, 2024
1 parent b1ca529 commit 048b168
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/lapi/mmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
# define MADV_SOFT_OFFLINE 101
#endif

#ifndef MADV_GUARD_INSTALL
# define MADV_GUARD_INSTALL 102
#endif

#ifndef MADV_GUARD_REMOVE
# define MADV_GUARD_REMOVE 103
#endif

#ifndef MADV_MERGEABLE
# define MADV_MERGEABLE 12
#endif
Expand Down

0 comments on commit 048b168

Please sign in to comment.