summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-11-21 11:07:50 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-11-21 11:07:50 +0000
commit7409ad6d85ad0f8ee149fa59a2b47928617f8d3f (patch)
tree4d260eff12278a983ff7e35e85e77cbdbdd6792c
parent5967b2a9f5e41009cf059f55c9500f7b4c4f089c (diff)
downloadeet-7409ad6d85ad0f8ee149fa59a2b47928617f8d3f.tar.gz
* eet: use eina configuration information correctly.
Patch from the OpenBSD team : Fabien Romano <fabien@openbsd.org> Jonathan Armani <armani@opensbd.org> SVN revision: 54762
-rw-r--r--src/lib/eet_node.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/eet_node.c b/src/lib/eet_node.c
index db1c58c..190bc07 100644
--- a/src/lib/eet_node.c
+++ b/src/lib/eet_node.c
@@ -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;