This commit is contained in:
beard%netscape.com 1999-02-25 03:12:01 +00:00
Родитель 4292a2fcbf
Коммит 156c2c4e7d
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -26,13 +26,13 @@
#include <new.h>
#include "jni.h"
#include "nsIMalloc.h"
#include "nsIAllocator.h"
// Warning: this forces all C++ allocation to go through Navigator's memory allocation
// Routines. As such, static constructors that use operator new may not work. This can
// be fixed if we delay static construction (see the call to __InitCode__() in npmac.cpp).
extern nsIMalloc* theMemoryAllocator;
extern nsIAllocator* theMemoryAllocator;
void* operator new(size_t size)
{