diff options
author | amy <[email protected]> | 2023-05-15 13:12:45 +0000 |
---|---|---|
committer | amy <[email protected]> | 2023-05-15 13:12:45 +0000 |
commit | cc399ee1f39fcad6ab9aefb2b198e4c83be89c69 (patch) | |
tree | e9b4b5a64aedc33617890a479aae21cf3f2d7584 /src/util.h | |
parent | d51a878cd6fbb3bc7864140b0ce82a1908a5ed57 (diff) |
poly intersection!
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |