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