mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Moved purify stuff into xpcom/base for the benefit of all.
This commit is contained in:
parent
5a5994f0bb
commit
bb7537da50
@ -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= \
|
||||
|
@ -445,6 +445,7 @@ DispatchPurifyEvent(PRInt32 aID)
|
||||
{
|
||||
if (!PurifyIsRunning()) {
|
||||
printf("!!! Re-run viewer under Purify to use this menu item.\n");
|
||||
fflush(stdout);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user