ecore: fix build without mallinfo.

This commit is contained in:
Cedric Bail 2013-08-27 16:05:15 +09:00
parent d2da83fed8
commit 56983ed0d4
1 changed files with 3 additions and 1 deletions

View File

@ -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;