From ebab46356c26b8f2b2849bfaeb0f0a3a8000b6c6 Mon Sep 17 00:00:00 2001 From: pabs3 Date: Sat, 8 Nov 2008 05:47:11 +0000 Subject: [PATCH] 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 --- ETL/trunk/ETL/handle | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.7.4