Fixes for compiling with memwatch

This commit is contained in:
Michiel Broek
2002-05-11 11:14:35 +00:00
parent e3a8865b45
commit 741e8a077d
8 changed files with 20 additions and 20 deletions

View File

@@ -85,7 +85,7 @@ libmemwatch.a: ${MEMWATCH_OBJS}
install: all
clean:
@rm -f ${TARGET} *.o *.h~ *.c~ ftscprod.c core filelist Makefile.bak
rm -f ${TARGET} *.o *.h~ *.c~ ftscprod.c core filelist Makefile.bak
filelist: Makefile
BASE=`pwd`; \

View File

@@ -1609,7 +1609,7 @@ static int macrovalue(int nargs, char *args, char *output)
ucase(macname);
#endif
#ifdef TRACE
#ifdef DIESEL_TRACE
if (tracing) {
V printf("Eval: @(%s", macname);
for (i = 1; i < nargs; i++) {
@@ -1629,14 +1629,14 @@ static int macrovalue(int nargs, char *args, char *output)
V sprintf(output, " @(%s,%c%c) ", macname, '?', '?');
}
if (mstat != TRUE) {
#ifdef TRACE
#ifdef DIESEL_TRACE
if (tracing) {
V printf("Err: %s\n", output);
}
#endif
return DIAGNOSTIC;
}
#ifdef TRACE
#ifdef DIESEL_TRACE
if (tracing) {
V printf("===> %s\n", output);
}
@@ -1645,7 +1645,7 @@ static int macrovalue(int nargs, char *args, char *output)
}
}
V sprintf(output, " @(%s)?? ", macname);
#ifdef TRACE
#ifdef DIESEL_TRACE
if (tracing) {
V printf("Err: %s\n", output);
}

View File

@@ -17,7 +17,7 @@
/* Globals exported */
#ifdef TRACE
#ifdef DIESEL_TRACE
int tracing = TRUE; /* Trace macro evalution */
#endif