cedric pushed a commit to branch master.

commit 56983ed0d4facc26a99f51e30f3ce294f3f908f5
Author: Cedric Bail <[email protected]>
Date:   Tue Aug 27 16:05:15 2013 +0900

    ecore: fix build without mallinfo.
---
 src/lib/ecore/ecore.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index c563005..0979e1a 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -31,12 +31,14 @@
 #include "Ecore.h"
 #include "ecore_private.h"
 
-#if HAVE_MALLINFO
+#if defined HAVE_MALLINFO
 #include <malloc.h>
+#endif
 
 static Ecore_Version _version = { VMAJ, VMIN, VMIC, VREV };
 EAPI Ecore_Version *ecore_version = &_version;
 
+#ifdef HAVE_MALLINFO
 #define KEEP_MAX(Global, Local) \
   if (Global < (Local))         \
     Global = Local;

-- 

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk

Reply via email to