From 250d62ca6b71a22f01006875a7c8249936a8da10 Mon Sep 17 00:00:00 2001 From: cedric Date: Mon, 9 May 2011 13:06:03 +0000 Subject: [PATCH] eina: oops, need to protect inside #ifdef. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@59295 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/include/eina_inline_lock_posix.x | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/eina_inline_lock_posix.x b/src/include/eina_inline_lock_posix.x index 52c81b1..b8c7082 100644 --- a/src/include/eina_inline_lock_posix.x +++ b/src/include/eina_inline_lock_posix.x @@ -173,7 +173,9 @@ eina_lock_take(Eina_Lock *mutex) printf("ERROR ERROR: DEADLOCK on lock %p\n", mutex); eina_lock_debug(mutex); ret = EINA_LOCK_DEADLOCK; // magic +#ifdef EINA_HAVE_DEBUG_THREADS if (_eina_threads_debug) abort(); +#endif } #ifdef EINA_HAVE_DEBUG_THREADS -- 2.7.4