Checkin shaver's patch to allow debug Mozilla builds to dynamicly link with XPCOM-based, nsCOMPtr-using optimized plugins (77112, r=brendan, sr=scc, a=chofmann).

This commit is contained in:
brendan%mozilla.org 2001-04-24 21:13:15 +00:00
parent a895548450
commit 4f5aafa905
2 changed files with 10 additions and 2 deletions

View File

@ -405,7 +405,11 @@ class nsCOMPtr_base
}
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
NS_EXPORT ~nsCOMPtr_base();
NS_EXPORT ~nsCOMPtr_base();
#else
// Allow debug builds to link with optimized versions of nsCOMPtr-using
// plugins (e.g., JVMs).
NS_EXPORT ~nsCOMPtr_base() { }
#endif
NS_EXPORT void assign_with_AddRef( nsISupports* );

View File

@ -405,7 +405,11 @@ class nsCOMPtr_base
}
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
NS_EXPORT ~nsCOMPtr_base();
NS_EXPORT ~nsCOMPtr_base();
#else
// Allow debug builds to link with optimized versions of nsCOMPtr-using
// plugins (e.g., JVMs).
NS_EXPORT ~nsCOMPtr_base() { }
#endif
NS_EXPORT void assign_with_AddRef( nsISupports* );