eina: oops, need to protect inside #ifdef.

SVN revision: 59295
This commit is contained in:
Cedric BAIL 2011-05-09 13:06:03 +00:00
parent f91a33ef0d
commit 5f820ce976
1 changed files with 2 additions and 0 deletions

View 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