Revision: 2169
          http://synfig.svn.sourceforge.net/synfig/?rev=2169&view=rev
Author:   pabs3
Date:     2008-11-08 05:47:11 +0000 (Sat, 08 Nov 2008)

Log Message:
-----------
Don't enable the use of mutexes on platforms other than Windows unless pthread 
is available.

Modified Paths:
--------------
    ETL/trunk/ETL/handle

Modified: ETL/trunk/ETL/handle
===================================================================
--- ETL/trunk/ETL/handle        2008-11-08 05:44:21 UTC (rev 2168)
+++ ETL/trunk/ETL/handle        2008-11-08 05:47:11 UTC (rev 2169)
@@ -33,8 +33,10 @@
 // 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"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to