summaryrefslogtreecommitdiff
path: root/src/_forced
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-05-29 16:07:14 -0400
committerJakob Kaivo <jkk@ung.org>2024-05-29 16:07:14 -0400
commit824f22a3684209b1e11c87f20e6ff17beb8e73a3 (patch)
tree591521c80a1cc771da5dc37d5bdfee5b89a3bb73 /src/_forced
parentc9ec058657f9f8b3fd39a16f1a9e993b4a1e982e (diff)
finish integrating jkmalloc and read-only variable support
Diffstat (limited to 'src/_forced')
-rw-r--r--src/_forced/mprotect.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/_forced/mprotect.h b/src/_forced/mprotect.h
index 5abbe5ed..717778de 100644
--- a/src/_forced/mprotect.h
+++ b/src/_forced/mprotect.h
@@ -1,9 +1,6 @@
-#ifdef _POSIX_C_SOURCE
-#include <sys/mman.h>
-#else
+//#include <sys/mman.h>
#include "_syscall.h"
#define mprotect(__ptr, __len, __prot) __syscall(__sys_mprotect, __ptr, __len, __prot)
#define PROT_NONE 0x0
#define PROT_READ 0x1
#define PROT_WRITE 0x2
-#endif