diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-02 20:28:12 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-02 20:28:12 +0000 |
commit | ebd2e8702de7ab9ea5979cd20dc9330ecf7375f7 (patch) | |
tree | 06a58e6efab30fc64ce8ded17ffeccf3a4a5de1b /py | |
parent | cdb310982ea094b7c7b393d714bd2b23cc24e173 (diff) | |
download | micropython-ebd2e8702de7ab9ea5979cd20dc9330ecf7375f7.tar.gz micropython-ebd2e8702de7ab9ea5979cd20dc9330ecf7375f7.zip |
py: __MACH__ also uses MAP_ANON.
Diffstat (limited to 'py')
-rw-r--r-- | py/asmx64.c | 2 |
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 |