Don't enable the use of mutexes on platforms other than Windows unless pthread is...
[synfig.git] / ETL / trunk / ETL / handle
index d957f76..60f2623 100644 (file)
 // include the next line in an attempt to increase stability
 // it seems to make things much *less* stable on MS Windows
 #ifndef _WIN32
+#ifdef HAVE_LIBPTHREAD
 #define ETL_LOCK_REFCOUNTS
 #endif
+#endif
 
 #ifdef ETL_LOCK_REFCOUNTS
 #  include "mutex"