Look for locks being available

SVN revision: 38571
This commit is contained in:
handyande 2009-01-13 16:31:31 +00:00 committed by handyande
parent fb92a519bf
commit 6c94ab45be
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ struct _Evas_Module
int ref; /* how many refs */
int last_used; /* the cycle count when it was last used */
#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD)
#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) && _POSIX_SPIN_LOCKS > -1
pthread_spinlock_t lock;
#endif