提交 6d7e4708 编写于 作者: D Damien George

unix: Prefix includes with py/; remove need for -I../py.

上级 3765ea41
......@@ -15,7 +15,6 @@ include ../py/py.mk
INC = -I.
INC += -I..
INC += -I$(PY_SRC)
INC += -I$(BUILD)
# compiler settings
......
......@@ -31,13 +31,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "stream.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#ifdef _WIN32
#define fsync _commit
......
......@@ -25,11 +25,8 @@
*/
#include <stdio.h>
#include <stdint.h>
#include "mpconfig.h"
#include "misc.h"
#include "gc.h"
#include "py/gc.h"
#if MICROPY_ENABLE_GC
......
......@@ -25,15 +25,11 @@
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "py/nlr.h"
#include "py/obj.h"
#include "input.h"
#if MICROPY_USE_READLINE
......
......@@ -35,20 +35,17 @@
#include <sys/types.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "obj.h"
#include "parsehelper.h"
#include "compile.h"
#include "runtime0.h"
#include "runtime.h"
#include "builtin.h"
#include "repl.h"
#include "gc.h"
#include "py/nlr.h"
#include "py/compile.h"
#include "py/parsehelper.h"
#include "py/runtime.h"
#include "py/builtin.h"
#include "py/repl.h"
#include "py/gc.h"
#include "py/stackctrl.h"
#include "py/pfenv.h"
#include "genhdr/py-version.h"
#include "input.h"
#include "stackctrl.h"
#include "pfenv.h"
// Command line options, with their defaults
STATIC bool compile_only = false;
......
......@@ -31,13 +31,9 @@
#include <dlfcn.h>
#include <ffi.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "binary.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
/*
* modffi uses character codes to encode a value type, based on "struct"
......
......@@ -31,13 +31,9 @@
#include <errno.h>
#include <stdlib.h>
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "objtuple.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \
......
......@@ -38,16 +38,12 @@
#include <netdb.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"
#include "objstr.h"
#include "runtime.h"
#include "stream.h"
#include "builtin.h"
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objstr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/builtin.h"
/*
The idea of this module is to implement reasonable minimum of
......
......@@ -29,13 +29,9 @@
#include <unistd.h>
#include <errno.h>
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "objlist.h"
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \
......
......@@ -30,11 +30,7 @@
#include <sys/time.h>
#include <math.h>
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "py/runtime.h"
#ifdef _WIN32
void msec_sleep_tv(struct timeval *tv) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册