Don't enable the use of mutexes on platforms other than Windows unless pthread is...
[synfig.git] / ETL / trunk / ETL / handle
index 010f5c2..60f2623 100644 (file)
 #include "etl_config.h"
 
 // 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"