diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 10:16:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 10:27:13 +0400 |
commit | 788f4858d779a04a29bc446f2e4f21e3c64ddaa4 (patch) | |
tree | b33a34e79402355d3ae743116ef65d1aa15a80e7 /intern/guardedalloc | |
parent | 746f0ad257b81e2680db10d9993c9054f059033c (diff) |
Comment unused macro
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/mallocn_lockfree_impl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c index c76caff0d74..69e1f6572dc 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c @@ -67,7 +67,9 @@ enum { #define MEMHEAD_FROM_PTR(ptr) (((MemHead*) vmemh) - 1) #define PTR_FROM_MEMHEAD(memhead) (memhead + 1) #define MEMHEAD_ALIGNED_FROM_PTR(ptr) (((MemHeadAligned*) vmemh) - 1) +#if 0 /* UNUSED */ #define PTR_FROM_MEMHEAD_ALIGNED(memhead) (memhead + 1) +#endif #define MEMHEAD_IS_MMAP(memhead) ((memhead)->len & (size_t) MEMHEAD_MMAP_FLAG) #define MEMHEAD_IS_ALIGNED(memhead) ((memhead)->len & (size_t) MEMHEAD_ALIGN_FLAG) |