From: bdemsky Date: Thu, 1 Mar 2007 09:53:44 +0000 (+0000) Subject: debugging X-Git-Tag: preEdgeChange~693 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=48d1647cc11de53a3cee8353a88895db4e46b496;p=IRC.git debugging --- 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