From: pabs3 Date: Sat, 8 Nov 2008 05:47:11 +0000 (+0000) Subject: Don't enable the use of mutexes on platforms other than Windows unless pthread is... X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=commitdiff_plain;h=ebab46356c26b8f2b2849bfaeb0f0a3a8000b6c6 Don't enable the use of mutexes on platforms other than Windows unless pthread is available. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2169 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/ETL/trunk/ETL/handle b/ETL/trunk/ETL/handle index d957f76..60f2623 100644 --- a/ETL/trunk/ETL/handle +++ b/ETL/trunk/ETL/handle @@ -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"