aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libc/inc/mem.h')
-rw-r--r--libs/libc/inc/mem.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/libc/inc/mem.h b/libs/libc/inc/mem.h
index 2d55eff..960ee86 100644
--- a/libs/libc/inc/mem.h
+++ b/libs/libc/inc/mem.h
@@ -12,12 +12,10 @@ void free_debug(void *ptr, const char *file, int line, const char *func, const c
void *realloc(void *ptr, u32 size);
void *zalloc(u32 size);
-#ifdef kernel
+#ifdef KERNEL
#define STACK_START 0x00500000 // Defined it bootloader
#define STACK_SIZE 0x1000 // idk
-#elif defined(userspace)
-#else
-#error "No lib target specified. Please use -Dkernel or -Duserspace"
+#elif defined(USER)
#endif
void *memcpy(void *dest, const void *src, u32 n) NONNULL;