Moved purify stuff into xpcom/base for the benefit of all.

This commit is contained in:
warren%netscape.com 1999-10-29 03:28:22 +00:00
parent 5a5994f0bb
commit bb7537da50
2 changed files with 2 additions and 5 deletions

View File

@ -28,8 +28,7 @@ RESFILE = viewer.res
RCFLAGS=/d_DEBUG
!endif
# define PURIFY in your environment, and put pure.h and pure_api.c in this directory
!ifdef PURIFY
!ifdef MOZ_DEBUG
RCFLAGS=/dPURIFY
LCFLAGS=-DPURIFY
!endif
@ -49,9 +48,6 @@ OBJS = \
.\$(OBJDIR)\nsWebCrawler.obj \
.\$(OBJDIR)\nsWinMain.obj \
.\$(OBJDIR)\JSConsole.obj \
!ifdef PURIFY
.\$(OBJDIR)\pure_api.obj \
!endif
$(NULL)
LINCS= \

View File

@ -445,6 +445,7 @@ DispatchPurifyEvent(PRInt32 aID)
{
if (!PurifyIsRunning()) {
printf("!!! Re-run viewer under Purify to use this menu item.\n");
fflush(stdout);
return;
}