From d855c0a219a180497c2e50f9bc19bfce69b937a6 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Thu, 23 Jan 2025 00:24:57 +0000 Subject: it printfs with the efi interface --- api/posix/sys/mman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/posix/sys/mman.h') diff --git a/api/posix/sys/mman.h b/api/posix/sys/mman.h index dde74c0..dd8d6f5 100644 --- a/api/posix/sys/mman.h +++ b/api/posix/sys/mman.h @@ -1,5 +1,7 @@ #pragma once +#define MAP_FAILED ((void *) 1) + void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); int munmap(void *addr, size_t length); -- cgit v1.3.1-1-g115d