Attempt to fix HP-UX and OS/2 bustage. b=146532
git-svn-id: svn://10.0.0.236/trunk@124465 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5a9c285acb
commit
9dca0f7ac7
@ -76,15 +76,15 @@ class nsITimer;
|
||||
class nsIMemory;
|
||||
|
||||
class NS_COM nsRecyclingAllocator {
|
||||
#ifdef XP_OS2
|
||||
public:
|
||||
#else
|
||||
protected:
|
||||
#endif
|
||||
struct Block {
|
||||
PRUint32 bytes;
|
||||
};
|
||||
|
||||
// Make |BlockStoreNode| a |friend| so it can access |Block|.
|
||||
struct BlockStoreNode;
|
||||
friend struct BlockStoreNode;
|
||||
|
||||
struct BlockStoreNode {
|
||||
BlockStoreNode() : bytes(0), block(nsnull), next(nsnull) {};
|
||||
PRUint32 bytes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user