Adjust prefix files for the new allocators.

This commit is contained in:
sfraser%netscape.com 1998-12-05 22:03:38 +00:00
Родитель 4b3fa6114d
Коммит 5e512d94a3
3 изменённых файлов: 34 добавлений и 4 удалений

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

@ -17,8 +17,9 @@
*/
//
// Debug specific defines for the JavaRuntime
// Specific defines for the Memory allocator
//
#include "MemAllocatorConfig.h"

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

@ -16,5 +16,34 @@
* Reserved.
*/
#include <Types.h>
#include <stdlib.h>
#include "IDE_Options.h"
#include "DefinesMac.h"
#include "DefinesMac.h"
#ifdef DEBUG
/* Debug macros and switches */
#define DEBUG_HEAP_INTEGRITY 1
#define STATS_MAC_MEMORY 0
#define MEM_ASSERT(condition, message) ((condition) ? ((void)0) : DebugStr("\p"message))
#else
/* Non-debug macros and switches */
#define DEBUG_HEAP_INTEGRITY 0
#define STATS_MAC_MEMORY 0
#define MEM_ASSERT(condition, message) ((void)0)
#endif

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

@ -17,10 +17,10 @@
*/
//
// Debug specific defines for the JavaRuntime
// Debug specific defines for the Memory allocators
//
#define DEBUG 1
#define TRACING 1
#include "MemAllocatorConfig.h"