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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user