NuCache defines for mozilla.mak.

This commit is contained in:
gagan%netscape.com 1998-10-13 05:44:34 +00:00
parent 6d3321e5b9
commit 2f4eb25758
2 changed files with 8 additions and 1 deletions

View File

@ -183,6 +183,9 @@ CFLAGS_RELEASE=/DNDEBUG /DCookieManagement /DSingleSignon /DJS_THREADSAFE \
!else
CFLAGS_RELEASE=/DNDEBUG \
!endif
!ifdef NU_CACHE
/DNU_CACHE \
!endif
!if defined(MOZ_FULLCIRCLE)
/DMOZ_FULLCIRCLE \
!endif
@ -228,6 +231,9 @@ CFLAGS_DEBUG=$(MOZ_DEBUG_FLAG) /Bd /DDEBUG /D_DEBUG $(MOZ_USERDEBUG) /DCookieMan
!else
CFLAGS_DEBUG=$(MOZ_DEBUG_FLAG) /Bd /DDEBUG /D_DEBUG $(MOZ_USERDEBUG)\
!endif
!ifdef NU_CACHE
/DNU_CACHE \
!endif
!if defined(MOZ_FULLCIRCLE)
/DMOZ_FULLCIRCLE \
!endif

View File

@ -2274,9 +2274,10 @@ int CNetscapeApp::ExitInstance()
BOOL javaShutdownSuccessful = fe_ShutdownJava();
#ifndef NU_CACHE
if(!m_pCacheDir.IsEmpty())
NET_CleanupCacheDirectory((char *)(const char *)m_pCacheDir, CACHE_PREFIX);
#endif /* NU_CACHE */
NET_ShutdownNetLib();
#ifdef MOZ_MAIL_NEWS