* eet: use eina configuration information correctly.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 21 Nov 2010 11:07:50 +0000 (11:07 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 21 Nov 2010 11:07:50 +0000 (11:07 +0000)
        Patch from the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@54762 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_node.c

index db1c58c..190bc07 100644 (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;