Fixed to work with lates CDB format. Needs more work though...
[fw/sdcc] / as / mcs51 / asnoice.c
index acf86b46194adb9a44f1c6e8b020cce2bca13723..38d3233f5b95c14969c9cd8f1dae34432d2d47db 100644 (file)
@@ -9,9 +9,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-//#if !defined(_MSC_VER)
-//#include <alloc.h>
-//#endif
 #include "asm.h"
 
 /* Return basic file name without path or extension */
@@ -20,7 +17,7 @@ static char* BaseFileName( int fileNumber );
 char* BaseFileName( int fileNumber )
 {
        static int prevFile = -1;
-        static char baseName[ FILSPC ];
+        static char baseName[ PATH_MAX ];
 
         char *p1, *p2;
 
@@ -88,7 +85,7 @@ void DefineNoICE_Line()
 {
         static int prevFile = -1;
         static struct area *pPrevArea = NULL;
-        static char baseName[ FILSPC ];
+        static char baseName[ PATH_MAX ];
 
         int j;
         char *p1, *p2;