summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/asmx64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/asmx64.c b/py/asmx64.c
index 2c56f35c99..c542df5089 100644
--- a/py/asmx64.c
+++ b/py/asmx64.c
@@ -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)