mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Changes for BeOS, QNX and long long, by Chris Herborth.
This commit is contained in:
parent
1a8791e0b8
commit
bcc207484a
12 changed files with 132 additions and 14 deletions
|
@ -17,6 +17,14 @@
|
|||
#endif
|
||||
|
||||
/* GNU readline definitions */
|
||||
/* If you have string.h, you might need to add yourself to this #if... [cjh] */
|
||||
#if defined(__BEOS__)
|
||||
#undef HAVE_CONFIG_H
|
||||
/* At max warnings, we need protos for everything. [cjh] */
|
||||
#include <readline/readline.h>
|
||||
#include <readline/history.h>
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <readline/readline.h> /* You may need to add an -I option to Setup */
|
||||
|
||||
extern int rl_parse_and_bind();
|
||||
|
@ -26,6 +34,7 @@ extern int rl_bind_key();
|
|||
extern int rl_bind_key_in_map();
|
||||
extern int rl_initialize();
|
||||
extern int add_history();
|
||||
#endif
|
||||
|
||||
/* Pointers needed from outside (but not declared in a header file). */
|
||||
extern int (*PyOS_InputHook)();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue