diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-02-02 13:56:05 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-02-02 13:56:05 -0500 |
commit | 3a9026cf8557c8efec34e652b6bf37ce49f12f86 (patch) | |
tree | 19b2cac928b8ce18cc83f1b7e6d7a41141608645 | |
parent | 24f39222098253da4ad1a9cd8ddef5b9b0152ba1 (diff) |
temporary hack
-rw-r--r-- | src/stdlib/realloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stdlib/realloc.c b/src/stdlib/realloc.c index d375ad42..12729f87 100644 --- a/src/stdlib/realloc.c +++ b/src/stdlib/realloc.c @@ -18,11 +18,11 @@ #define open(_p, _a, _m) __scall3(open, _p, _a, _m) #endif -#define O_RDWR 0 -#define PROT_READ 0 -#define PROT_WRITE 0 -#define MAP_PRIVATE 0 -#define MAP_FAILED 0 +#define O_RDWR 02 +#define PROT_READ 0x1 +#define PROT_WRITE 0x2 +#define MAP_PRIVATE 0x02 +#define MAP_FAILED (void*)(-1) /** change the amount of memory allocated **/ |