From 3a9026cf8557c8efec34e652b6bf37ce49f12f86 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 2 Feb 2024 13:56:05 -0500 Subject: temporary hack --- src/stdlib/realloc.c | 10 +++++----- 1 file 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 **/ -- cgit v1.2.1