Skip to content
Snippets Groups Projects
Commit aba32344 authored by Christian Engwer's avatar Christian Engwer
Browse files

[debugallocator]

add "DummyProtFlags" if sys/mman.h is missing

[[Imported from SVN: r7017]]
parent 160b4d95
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@
#include <new>
#if HAVE_SYS_MMAN_H and HAVE_MPROTECT
#include <sys/mman.h>
#else
enum DummyProtFlags { PROT_NONE, PROT_WRITE, PROT_READ };
#endif
#include "mallocallocator.hh"
......
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