diff --git a/estruct.h b/estruct.h index 9105703..86361ed 100644 --- a/estruct.h +++ b/estruct.h @@ -242,10 +242,6 @@ #define CTLX 0x0400 /* ^X flag, or'ed in */ #define SPEC 0x0800 /* special key (function keys) */ -#if PKCODE -#define MAXNLINE 10000000 /* max lines from one file */ -#endif - #ifdef FALSE #undef FALSE #endif diff --git a/file.c b/file.c index 29529c3..f3c980c 100644 --- a/file.c +++ b/file.c @@ -15,6 +15,11 @@ #include "efunc.h" #include "line.h" +#if defined(PKCODE) +/* Max number of lines from one file. */ +#define MAXNLINE 10000000 +#endif + /* * Read a file into the current * buffer. This is really easy; all you do it