#define OTHERSYSTEM
#endif
+/*
+ * PATH_MAX
+ */
+#include <limits.h>
+#ifndef PATH_MAX /* POSIX, but not required */
+ #if defined(__BORLANDC__) || defined(_MSC_VER)
+ #include <stdlib.h>
+ #define PATH_MAX _MAX_PATH
+ #else
+ #define PATH_MAX 255 /* define a reasonable value */
+ #endif
+#endif
+
/*
* This file defines the format of the
* relocatable binary file.
#define NCPS 80 /* characters per symbol (JLH: change from 8) */
#define NDATA 16 /* actual data */
-#define NINPUT FILENAME_MAX /* Input buffer size (BH: change from 128) */
+#define NINPUT PATH_MAX /* Input buffer size */
#define NHASH 64 /* Buckets in hash table */
#define HMASK 077 /* Hash mask */
#define NLPP 60 /* Lines per page */
extern char rb[NINPUT]; /* LST file text line being
* address relocated
*/
-extern char ctype[]; /* array of character types, one per
+extern unsigned char ctype[]; /* array of character types, one per
* ASCII character
*/
*/
extern int mflag; /* Map output flag
*/
+extern int sflag; /* JCF: Memory usage output flag
+ */
extern int jflag; /* NoICE output flag
*/
extern int xflag; /* Map file radix type flag
/* lknoice.c */
extern void DefineNoICE( char *name, Addr_T value, int page );
-/* SD added this to change
- strcmpi --> strcmp (strcmpi NOT ANSI) */
-#define strcmpi strcmp
+/* JCF: lkmem.c */
+extern int summary(struct area * xp);
+/* JCF: lkaomf51.c */
+extern void SaveLinkedFilePath(char * filepath);
+extern void CreateAOMF51(void);