eina: prevent ABI break when turning on/off threads debugging.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 4 Oct 2011 02:33:00 +0000 (02:33 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 4 Oct 2011 02:33:00 +0000 (02:33 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@63788 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_main.c

index 3780ada..30e2302 100644 (file)
@@ -66,6 +66,7 @@
 #include "eina_magic.h"
 #include "eina_rectangle.h"
 #include "eina_safety_checks.h"
+#include "eina_inlist.h"
 
 /*============================================================================*
 *                                  Local                                     *
@@ -111,7 +112,7 @@ static pid_t _eina_pid;
 static int _mt_enabled = 0;
 #endif
 
-#ifdef EINA_HAVE_DEBUG_THREADS
+#ifdef EFL_HAVE_THREADS
 EAPI int _eina_threads_debug = 0;
 EAPI pthread_mutex_t _eina_tracking_lock;
 EAPI Eina_Inlist *_eina_tracking = NULL;