From 48d1647cc11de53a3cee8353a88895db4e46b496 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Thu, 1 Mar 2007 09:53:44 +0000 Subject: [PATCH] debugging --- Robust/src/Runtime/Queue.c | 3 +++ Robust/src/Runtime/runtime.c | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Robust/src/Runtime/Queue.c b/Robust/src/Runtime/Queue.c index 51c9a1da..a29e96b0 100644 --- a/Robust/src/Runtime/Queue.c +++ b/Robust/src/Runtime/Queue.c @@ -1,5 +1,8 @@ #include "mem.h" #include "Queue.h" +#ifdef DMALLOC +#include "dmalloc.h" +#endif struct Queue * createQueue() { return RUNMALLOC(sizeof(struct Queue)); diff --git a/Robust/src/Runtime/runtime.c b/Robust/src/Runtime/runtime.c index 3f717db1..bba7225a 100644 --- a/Robust/src/Runtime/runtime.c +++ b/Robust/src/Runtime/runtime.c @@ -24,7 +24,9 @@ int failurecount; float instfailurechance=0; int numfailures; int instaccum=0; - +#ifdef DMALLOC +#include "dmalloc.h" +#endif #ifdef TASK -- 2.34.1