Define a global compiler and environment define, DETECT_WEBSHELL_LEAKS. This is used to compile in code that checks for webshell instances on shutdown and prints an error message to the console if webshells are being leaked.

This commit is contained in:
nisheeth%netscape.com 1999-09-22 01:20:41 +00:00
Родитель ebc32d984f
Коммит 0076f7548d
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -196,6 +196,12 @@ CFLAGS=$(CFLAGS) -DSTAND_ALONE_JAVA
NECKO=1
CFLAGS=$(CFLAGS) -DNECKO
# XXX We need to remove this before we ship.
# This causes a static linkage between the webshell
# and xpfe.f
DETECT_WEBSHELL_LEAKS=1
CFLAGS=$(CFLAGS) -DDETECT_WEBSHELL_LEAKS
!ifndef MOZ_JAVA
MOZ_OJI = 1 # on by default now
!endif