Don't enable the use of mutexes on platforms other than Windows unless pthread is...
authorpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Nov 2008 05:47:11 +0000 (05:47 +0000)
committerpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 8 Nov 2008 05:47:11 +0000 (05:47 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2169 1f10aa63-cdf2-0310-b900-c93c546f37ac

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"