add a flag CMK_MALLINFO_IS_BROKEN to allow disabling using of mallinfo if it is broken.
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 4 Jan 2012 21:12:12 +0000 (13:12 -0800)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 4 Jan 2012 21:12:12 +0000 (13:12 -0800)
src/conv-core/memory.c

index 779ce349cb0ad8cb9e0e1b6d3d88289383b43429..620e8b96eb73a16bdfc6ebb5e5468b7b10c7cb03 100644 (file)
@@ -374,7 +374,7 @@ static CMK_TYPEDEF_UINT8 MemusageProcSelfStat(){
     return vsz;
 }
 
-#if ! CMK_HAS_MALLINFO
+#if ! CMK_HAS_MALLINFO || defined(CMK_MALLINFO_IS_BROKEN)
 #if CMK_C_INLINE
 inline
 #endif