| 49 |
#include <errno.h> |
#include <errno.h> |
| 50 |
|
|
| 51 |
#ifdef SUPPORT_LIBREADLINE |
#ifdef SUPPORT_LIBREADLINE |
| 52 |
|
#ifdef HAVE_UNISTD_H |
| 53 |
#include <unistd.h> |
#include <unistd.h> |
| 54 |
|
#endif |
| 55 |
#include <readline/readline.h> |
#include <readline/readline.h> |
| 56 |
#include <readline/history.h> |
#include <readline/history.h> |
| 57 |
#endif |
#endif |
| 71 |
#define INPUT_MODE "r" |
#define INPUT_MODE "r" |
| 72 |
#define OUTPUT_MODE "wb" |
#define OUTPUT_MODE "wb" |
| 73 |
|
|
| 74 |
|
#define isatty _isatty /* This is what Windows calls them, I'm told */ |
| 75 |
|
#define fileno _fileno |
| 76 |
|
|
| 77 |
#else |
#else |
| 78 |
#include <sys/time.h> /* These two includes are needed */ |
#include <sys/time.h> /* These two includes are needed */ |
| 79 |
#include <sys/resource.h> /* for setrlimit(). */ |
#include <sys/resource.h> /* for setrlimit(). */ |