зеркало из https://github.com/mozilla/pjs.git
Moved purify stuff into xpcom/base for the benefit of all.
This commit is contained in:
Родитель
53fec9faa8
Коммит
f343050808
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче