Add MAP_ANON as alias for MAP_ANONYMOUS.

This commit is contained in:
Jonas 'Sortie' Termansen 2024-06-23 23:50:43 +02:00
parent ef310421d7
commit 87bcf01967

View file

@ -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)