Generate a warning when a library file is not found.
[fw/sdcc] / as / mcs51 / asdata.c
index 51f1c37b983d5f4612d5712d224af6cb90055e3a..07c065ce0f765c89c5b4deed983cb7bd4352a9fa 100644 (file)
@@ -17,9 +17,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-//#if !defined(_MSC_VER)
-//#include <alloc.h>
-//#endif
 #include "asm.h"
 
 /*)Module      asdata.c
@@ -54,13 +51,13 @@ int iflvl[MAXIF+1]; /*      array of IF-ELSE-ENDIF flevel
                         *      values indexed by tlevel
                         */
 
-char   afn[FILSPC];            /*      afile temporary file name
+char   afn[PATH_MAX];          /*      afile temporary file name
                                 */
-char   srcfn[MAXFIL][FILSPC];  /*      array of source file names
+char   srcfn[MAXFIL][PATH_MAX];        /*      array of source file names
                                 */
 int    srcline[MAXFIL];        /*      source line number
                                 */
-char   incfn[MAXINC][FILSPC];  /*      array of include file names
+char   incfn[MAXINC][PATH_MAX];        /*      array of include file names
                                 */
 int    incline[MAXINC];        /*      include line number
                                 */