mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
On OpenBSD MAP_ANONYMOUS is called MAP_ANON.
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
#include "misc.h"
|
||||
#include "asmx64.h"
|
||||
|
||||
#if defined(__OpenBSD__)
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
|
||||
/* all offsets are measured in multiples of 8 bytes */
|
||||
#define WORD_SIZE (8)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user