diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-05-29 16:07:14 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-05-29 16:07:14 -0400 |
| commit | 824f22a3684209b1e11c87f20e6ff17beb8e73a3 (patch) | |
| tree | 591521c80a1cc771da5dc37d5bdfee5b89a3bb73 /src/_forced | |
| parent | c9ec058657f9f8b3fd39a16f1a9e993b4a1e982e (diff) | |
finish integrating jkmalloc and read-only variable support
Diffstat (limited to 'src/_forced')
| -rw-r--r-- | src/_forced/mprotect.h | 5 |
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 |
