Fixing hpux bustage.

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
parent b95cb6e26a
commit 0ca9654e96
2 changed files with 18 additions and 17 deletions

View File

@@ -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