summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore/ecore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c
index c563005796..0979e1a1cf 100644
--- a/src/lib/ecore/ecore.c
+++ b/src/lib/ecore/ecore.c
@@ -31,12 +31,14 @@
31#include "Ecore.h" 31#include "Ecore.h"
32#include "ecore_private.h" 32#include "ecore_private.h"
33 33
34#if HAVE_MALLINFO 34#if defined HAVE_MALLINFO
35#include <malloc.h> 35#include <malloc.h>
36#endif
36 37
37static Ecore_Version _version = { VMAJ, VMIN, VMIC, VREV }; 38static Ecore_Version _version = { VMAJ, VMIN, VMIC, VREV };
38EAPI Ecore_Version *ecore_version = &_version; 39EAPI Ecore_Version *ecore_version = &_version;
39 40
41#ifdef HAVE_MALLINFO
40#define KEEP_MAX(Global, Local) \ 42#define KEEP_MAX(Global, Local) \
41 if (Global < (Local)) \ 43 if (Global < (Local)) \
42 Global = Local; 44 Global = Local;