зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
2a73012a87
Коммит
9ca8ea98cc
|
@ -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 */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче