From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Tobias Christiansen Date: Thu, 24 Mar 2022 15:41:48 +0100 Subject: [PATCH] define _POSIX_MAPPED_FILES Serenity has a working mmap(). --- src/funge-space/funge-space.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/funge-space/funge-space.c b/src/funge-space/funge-space.c index 0b78647..dc1f830 100644 --- a/src/funge-space/funge-space.c +++ b/src/funge-space/funge-space.c @@ -47,6 +47,7 @@ #include /* fstat, open */ #include /* open, posix_fallocate */ +#define _POSIX_MAPPED_FILES 1 #if !defined(_POSIX_MAPPED_FILES) || (_POSIX_MAPPED_FILES < 1) # error "cfunge needs a working mmap(), which this system claims it lacks." #endif