]> andersk Git - splint.git/blobdiff - src/scanline.c
Fixes for win32
[splint.git] / src / scanline.c
index 1c539b1f33faffae4e15e920abcfa3b733d144dd..5b0baa824375004f4bbc2a30c622b981fc6924bd 100644 (file)
@@ -51,8 +51,9 @@
 /*@notfunction@*/
 # define MOVECHAR()   do { *bufptr++ = c; c = *currentLine++; colNumber++; } while (FALSE) 
 
-/*@constant static int MAXCHAR;@*/
-# define MAXCHAR 512      
+/* evans 2003-04-21: changed name to avoid conflict with MS VC++ */
+/*@constant static int SCANMAXCHAR;@*/ 
+# define SCANMAXCHAR 512      
 
 /*@constant static int TABSIZE;@*/
 # define TABSIZE 8     
@@ -66,7 +67,7 @@ static int startCol;
 static bool reportEOL;         
 static bool reportComments;    
 
-static char tokenBuffer[MAXCHAR];
+static char tokenBuffer[SCANMAXCHAR];
 
 static const charClassData charClassDef[] =
 {
This page took 0.040457 seconds and 4 git commands to generate.