The define needed in the header file, doesn't get set till after the
header file is included.
Also added newline to headerfile at the end for hpux.
This commit is contained in:
jdunn%netscape.com 2000-07-19 13:36:35 +00:00
Родитель 2a73012a87
Коммит 9ca8ea98cc
2 изменённых файлов: 18 добавлений и 17 удалений

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

@ -29,6 +29,21 @@
// which is why this fix is here instead of in _os2.h
typedef unsigned long HMTX;
#endif
#ifdef DEBUG
#undef NOISY_LINKS
#undef NOISY_WEBSHELL_LEAKS
#else
#undef NOISY_LINKS
#undef NOISY_WEBSHELL_LEAKS
#endif
#define NOISY_WEBSHELL_LEAKS
#ifdef NOISY_WEBSHELL_LEAKS
#undef DETECT_WEBSHELL_LEAKS
#define DETECT_WEBSHELL_LEAKS
#endif
#include "nsDocShell.h"
#include "nsIWebShell.h"
#include "nsWebShell.h"
@ -118,21 +133,6 @@ static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_C
//XXX for nsIPostData; this is wrong; we shouldn't see the nsIDocument type
#include "nsIDocument.h"
#ifdef DEBUG
#undef NOISY_LINKS
#undef NOISY_WEBSHELL_LEAKS
#else
#undef NOISY_LINKS
#undef NOISY_WEBSHELL_LEAKS
#endif
#define NOISY_WEBSHELL_LEAKS
#ifdef NOISY_WEBSHELL_LEAKS
#undef DETECT_WEBSHELL_LEAKS
#define DETECT_WEBSHELL_LEAKS
#endif
#define SH_IN_FRAMES 1
#ifdef NS_DEBUG

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

@ -145,7 +145,8 @@ protected:
private:
// We're counting the number of |nsWebShells| to help find leaks
static unsigned long gNumberOfWebShells;
#endif
#endif /* DETECT_WEBSHELL_LEAKS */
};
#endif
#endif /* webshell____h */