summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-02 07:49:13 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-02 07:49:13 -0800
commit6b032642ece5d56557beb21a3e712fb6538d979e (patch)
treed675f861dc19219335ae4b1d646eb9db219df5a9 /py
parent5d32983cb78355446b97722448de00862c120e46 (diff)
parent33fefc74a57bf974e052cf8035fe81fdd2df8087 (diff)
downloadmicropython-6b032642ece5d56557beb21a3e712fb6538d979e.tar.gz
micropython-6b032642ece5d56557beb21a3e712fb6538d979e.zip
Merge pull request #28 from vext01/openbsd
Make micropython build on OpenBSD.
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)