* as/z80/asm.h: made CASE_SENSITIVE 1
[fw/sdcc] / link / z80 / aslink.h
index 939e7437f3bd7871b76d9e1af5adc04a0c11a97d..e18cd023a825c13966934974d352dd1008afed3e 100644 (file)
 /*
  * Extensions: P. Felber
  */
-#include <limits.h>
-
-#ifndef PATH_MAX
- #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
-
 #define        VERSION "V01.75"
 
 /*
  * Case Sensitivity Flag
  */
-#define        CASE_SENSITIVE  0
+#define        CASE_SENSITIVE  1
 
 /*)Module      asmlnk.h
  *
 #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.
 /*
  * Area types
  */
-#define        A_CON   000             /* concatenate */
-#define        A_OVR   00            /* overlay */
-#define        A_REL   000             /* relocatable */
-#define        A_ABS   010             /* absolute */
-#define        A_NOPAG 000             /* non-paged */
-#define        A_PAG   020             /* paged */
+#define        A_CON   0000            /* concatenate */
+#define        A_OVR   0004            /* overlay */
+#define        A_REL   0000            /* relocatable */
+#define        A_ABS   0010            /* absolute */
+#define        A_NOPAG 0000            /* non-paged */
+#define        A_PAG   0020            /* paged */
 
 /*
  * File types
@@ -485,7 +487,7 @@ extern      char    ccase[];        /*      an array of characters which
 extern struct  lfile   *filep; /*      The pointers (lfile *) filep,
                                 *      (lfile *) cfp, and (FILE *) sfp
                                 *      are used in conjunction with
-                                *      the routine getline() to read
+                                *      the routine lk_getline() to read
                                 *      asmlnk commands from
                                 *      (1) the standard input or
                                 *      (2) or a command file
@@ -649,7 +651,7 @@ extern      char            endline();
 extern char            get();
 extern VOID            getfid();
 extern VOID            getid();
-extern int             getline();
+extern int             lk_getline();
 extern int             getmap();
 extern char            getnb();
 extern int             more();