* eet: use eina configuration information correctly.

Patch from the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>


SVN revision: 54762
This commit is contained in:
Cedric BAIL 2010-11-21 11:07:50 +00:00
parent 5812f44f08
commit 94ca4ee782
1 changed files with 4 additions and 0 deletions

View File

@ -723,7 +723,11 @@ eet_node_init(void)
const char *choice;
const char *tmp;
#ifdef EINA_DEFAULT_MEMPOOL
choice = "pass_through";
#else
choice = "chained_mempool";
#endif
tmp = getenv("EET_MEMPOOL");
if (tmp && tmp[0])
choice = tmp;