diff options
author | Edd Barrett <vext01@gmail.com> | 2014-01-01 23:16:27 +0000 |
---|---|---|
committer | Edd Barrett <vext01@gmail.com> | 2014-01-01 23:16:27 +0000 |
commit | 67ab5ee779afe6f493c019890160e2716f1debe1 (patch) | |
tree | 32ca31510ff3a7adc6a12db039887bdbfebfd195 | |
parent | 8146aea8ef59b2096d17b37dc4924dec0bd2e7cb (diff) | |
download | micropython-67ab5ee779afe6f493c019890160e2716f1debe1.tar.gz micropython-67ab5ee779afe6f493c019890160e2716f1debe1.zip |
On OpenBSD MAP_ANONYMOUS is called MAP_ANON.
-rw-r--r-- | py/asmx64.c | 4 |
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) |