From 87bcf01967744db80d5782dcf52f8eef5beb3c34 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 23 Jun 2024 23:50:43 +0200 Subject: [PATCH] Add MAP_ANON as alias for MAP_ANONYMOUS. --- kernel/include/sortix/mman.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/include/sortix/mman.h b/kernel/include/sortix/mman.h index ca85eb91..fb423efc 100644 --- a/kernel/include/sortix/mman.h +++ b/kernel/include/sortix/mman.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 Jonas 'Sortie' Termansen. + * Copyright (c) 2012, 2024 Jonas 'Sortie' Termansen. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -43,6 +43,7 @@ #define MAP_PRIVATE (1<<1) #define MAP_ANONYMOUS (1<<2) +#define MAP_ANON MAP_ANONYMOUS #define MAP_FIXED (1<<3) #define MAP_FAILED ((void*) -1)