Factor and simplify Makefile's and mpconfig, part 2.

This commit is contained in:
Damien George
2014-01-07 15:20:33 +00:00
parent 136f67523b
commit d3ebe4829d
10 changed files with 56 additions and 85 deletions

View File

@@ -1,16 +1,18 @@
#include <stdio.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <string.h>
#include "misc.h"
#include "asmx64.h"
#include "mpconfig.h"
// wrapper around everything in this file
#if MICROPY_EMIT_X64
#include <sys/types.h>
#include <sys/mman.h>
#include "asmx64.h"
#if defined(__OpenBSD__) || defined(__MACH__)
#define MAP_ANONYMOUS MAP_ANON
#endif