comparison src/input.cc @ 1349:33cf1f36aec6

[project @ 1995-09-05 07:06:43 by jwe]
author jwe
date Tue, 05 Sep 1995 07:09:38 +0000
parents 94bedeb289e5
children 5f63d83dd694
comparison
equal deleted inserted replaced
1348:8a6bfe944eb3 1349:33cf1f36aec6
42 #include <cstdlib> 42 #include <cstdlib>
43 #include <cstring> 43 #include <cstring>
44 #include <cassert> 44 #include <cassert>
45 #include <csignal> 45 #include <csignal>
46 46
47 #include <iostream.h>
48 #include <strstream.h>
49
47 #include <sys/types.h> 50 #include <sys/types.h>
48 #ifdef HAVE_UNISTD_H 51 #ifdef HAVE_UNISTD_H
49 #include <unistd.h> 52 #include <unistd.h>
50 #endif 53 #endif
51 54
52 #include <iostream.h>
53 #include <strstream.h>
54
55 // This must come before anything that includes iostream.h... 55 // This must come before anything that includes iostream.h...
56 extern "C" 56 extern "C"
57 { 57 {
58 #include "readline/readline.h" 58 #include "readline/readline.h"
59 #include "readline/history.h" 59 #include "readline/history.h"
91 #endif 91 #endif
92 return readline (s); 92 return readline (s);
93 } 93 }
94 } 94 }
95 95
96 #include "pathlen.h"
96 #include "help.h" 97 #include "help.h"
97 #include "error.h" 98 #include "error.h"
98 #include "utils.h" 99 #include "utils.h"
99 #include "input.h" 100 #include "input.h"
100 #include "pager.h" 101 #include "pager.h"
110 #include "oct-obj.h" 111 #include "oct-obj.h"
111 #include "oct-map.h" 112 #include "oct-map.h"
112 #include "symtab.h" 113 #include "symtab.h"
113 #include "defun.h" 114 #include "defun.h"
114 115
115 #ifndef MAXPATHLEN
116 #define MAXPATHLEN 1024
117 #endif
118
119 // The size that strings change by. 116 // The size that strings change by.
120 #ifndef DEFAULT_ARRAY_SIZE 117 #ifndef DEFAULT_ARRAY_SIZE
121 #define DEFAULT_ARRAY_SIZE 512 118 #define DEFAULT_ARRAY_SIZE 512
122 #endif 119 #endif
123 120