On 05/28/2012 11:13 PM, Zhigang Gong wrote: > +#elif CAIRO_HAS_PTHREAD /* and finally if there are no native rwlocks ********/ The comment here looks wrong. behdad > +# include <pthread.h> > + typedef pthread_rwlock_t cairo_rwlock_impl_t;