mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
* various modules: #include "Python.h" and remove most remporary
renaming hacks
This commit is contained in:
parent
a96720907a
commit
602099a756
6 changed files with 19 additions and 66 deletions
|
@ -1,24 +1,9 @@
|
|||
/* termiosmodule.c -- POSIX terminal I/O module implementation. */
|
||||
|
||||
#if 0
|
||||
#include <Py/Python.h>
|
||||
#else
|
||||
|
||||
#include "allobjects.h"
|
||||
#include "pythonrun.h"
|
||||
#include "intrcheck.h"
|
||||
#include "modsupport.h"
|
||||
#include "sysmodule.h"
|
||||
|
||||
#ifndef PyObject
|
||||
#define PyObject object
|
||||
typedef struct methodlist PyMethodDef;
|
||||
#endif
|
||||
#include <Python.h>
|
||||
|
||||
#define PyInit_termios inittermios
|
||||
|
||||
#endif /* 0 */
|
||||
|
||||
#include <termios.h>
|
||||
|
||||
#define BAD "bad termios argument"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue