From 6c94ab45be3ae2a234fff604d57b3fcc3161df6f Mon Sep 17 00:00:00 2001 From: handyande Date: Tue, 13 Jan 2009 16:31:31 +0000 Subject: [PATCH] Look for locks being available SVN revision: 38571 --- legacy/evas/src/lib/file/evas_module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/evas/src/lib/file/evas_module.h b/legacy/evas/src/lib/file/evas_module.h index 76ef125491..bc7e6de736 100644 --- a/legacy/evas/src/lib/file/evas_module.h +++ b/legacy/evas/src/lib/file/evas_module.h @@ -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