Skip to content

Commit

Permalink
Merge pull request #113 from devnexen/fbsd_few_bits
Browse files Browse the repository at this point in the history
freebsd also allow pages to be/not to be included in a core dump.
  • Loading branch information
emeryberger authored May 12, 2024
2 parents 4e09d4e + 0a50455 commit 11e8a54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/meshable_arena.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
#include <sys/sendfile.h>
#endif

#if defined(__FreeBSD__)
#define MADV_DONTDUMP MADV_NOCORE
#define MADV_DUMP MADV_CORE
#endif

#include <new>

#include "internal.h"
Expand Down

0 comments on commit 11e8a54

Please sign in to comment.