eina: oops, need to protect inside #ifdef.
authorCedric BAIL <cedric.bail@free.fr>
Mon, 9 May 2011 13:06:03 +0000 (13:06 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Mon, 9 May 2011 13:06:03 +0000 (13:06 +0000)
SVN revision: 59295

legacy/eina/src/include/eina_inline_lock_posix.x

index 52c81b1..b8c7082 100644 (file)
@@ -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