summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorEdd Barrett <vext01@gmail.com>2014-01-01 23:16:27 +0000
committerEdd Barrett <vext01@gmail.com>2014-01-01 23:16:27 +0000
commit67ab5ee779afe6f493c019890160e2716f1debe1 (patch)
tree32ca31510ff3a7adc6a12db039887bdbfebfd195 /py
parent8146aea8ef59b2096d17b37dc4924dec0bd2e7cb (diff)
On OpenBSD MAP_ANONYMOUS is called MAP_ANON.
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 2c56f35c9..c542df508 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)