Skip to content

Commit

Permalink
Remove future.c from the build.
Browse files Browse the repository at this point in the history
Tried to remove the Python-ast.h header, but pythonrun.c uses it, and
many files use stuff in pythonrun.c.  It's too tangled.
  • Loading branch information
Andy Chu committed Aug 19, 2018
1 parent 312b542 commit 3a0d0e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Python-2.7.13/Python/import.c
Expand Up @@ -3,7 +3,10 @@

#include "Python.h"

#ifndef OVM_MAIN
#include "Python-ast.h"
#endif

#undef Yield /* undefine macro conflicting with winbase.h */
#include "pyarena.h"
#include "pythonrun.h"
Expand Down
1 change: 0 additions & 1 deletion build/compile.sh
Expand Up @@ -15,7 +15,6 @@ Python/bltinmodule.c
Python/ceval.c
Python/codecs.c
Python/errors.c
Python/future.c
Python/getargs.c
Python/getcompiler.c
Python/getcopyright.c
Expand Down

0 comments on commit 3a0d0e9

Please sign in to comment.