8000 Make micropython build on OpenBSD. by vext01 · Pull Request #28 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

Make micropython build on OpenBSD. #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 2, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
On OpenBSD MAP_ANONYMOUS is called MAP_ANON.
  • Loading branch information
vext01 committed Jan 1, 2014
commit 67ab5ee779afe6f493c019890160e2716f1debe1
4 changes: 4 additions & 0 deletions py/asmx64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
0