* link/z80/aslink.h: Fixed path for PATH_MAX
[fw/sdcc] / link / z80 / aslink.h
index 6fcf998013c6a40177d946ab2571044f32ec8694..d597c2388a8d4ceadd4f28bd17597c5984a9ee93 100644 (file)
@@ -12,6 +12,7 @@
 /*
  * Extensions: P. Felber
  */
+#include <limits.h>
 
 #define        VERSION "V01.75"
 
 #endif /* SDK */
 /* #define     NCPS    32 */   /* characters per symbol */
 #define        NDATA   16              /* actual data */
-#define        NINPUT  128             /* Input buffer size */
+#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 */
 #define        NTXT    16              /* T values */
-#define        FILSPC  80              /* File spec length */
+#define        FILSPC  PATH_MAX        /* File spec length */
 
 /*
  *     The "R_" relocation constants define values used in
 /*
  * File types
  */
+#define F_INV  0               /* invalid */
 #define        F_STD   1               /* stdin */
 #define        F_LNK   2               /* File.lnk */
 #define        F_REL   3               /* File.rel */
@@ -711,3 +713,8 @@ extern      VOID            s19();
 
 /* lkihx.c */
 extern VOID            ihx();
+
+/* lkgb.h */
+VOID gb(int in);
+VOID gg(int in);
+