summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-02 20:28:12 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-02 20:28:12 +0000
commitebd2e8702de7ab9ea5979cd20dc9330ecf7375f7 (patch)
tree06a58e6efab30fc64ce8ded17ffeccf3a4a5de1b /py
parentcdb310982ea094b7c7b393d714bd2b23cc24e173 (diff)
downloadmicropython-ebd2e8702de7ab9ea5979cd20dc9330ecf7375f7.tar.gz
micropython-ebd2e8702de7ab9ea5979cd20dc9330ecf7375f7.zip
py: __MACH__ also uses MAP_ANON.
Diffstat (limited to 'py')
-rw-r--r--py/asmx64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/asmx64.c b/py/asmx64.c
index c542df5089..c425034ba0 100644
--- a/py/asmx64.c
+++ b/py/asmx64.c
@@ -7,7 +7,7 @@
#include "misc.h"
#include "asmx64.h"
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__MACH__)
#define MAP_ANONYMOUS MAP_ANON
#endif