aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authoramy <[email protected]>2023-05-15 13:12:45 +0000
committeramy <[email protected]>2023-05-15 13:12:45 +0000
commitcc399ee1f39fcad6ab9aefb2b198e4c83be89c69 (patch)
treee9b4b5a64aedc33617890a479aae21cf3f2d7584 /src/util.h
parentd51a878cd6fbb3bc7864140b0ce82a1908a5ed57 (diff)
poly intersection!
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 13f10b5..69d36bb 100644
--- a/src/util.h
+++ b/src/util.h
@@ -13,7 +13,10 @@ static const int forced_length = 20;
#define lesser(a,b) ((a)>(b)?(b):(a))
#define diff(a,b) ((a)>(b)?(a)-(b):(b)-(a))
-#ifndef skip_memory_trace
+#if defined(memory_trace) || defined(memory_count)
+#ifdef memory_trace
+//maybe add warning here
+#endif
#define malloc(X) mmalloc(X,(char*)__FILE__,(int)__LINE__,(char*)__FUNCTION__);
#define free(X) ffree(X,(char*)__FILE__,(int)__LINE__,(char*)__FUNCTION__); X=NULL;
#endif