X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftags%2Fstable%2FETL%2Fhandle;h=d957f76e746712354be8c5af0168d48121421257;hb=47fce282611fbba1044921d22ca887f9b53ad91a;hp=9c3347e6382025ee9bfea66dacaae280ffb501c6;hpb=26d279453f9f77f36658584e5d2b3dbbdf56b761;p=synfig.git diff --git a/ETL/tags/stable/ETL/handle b/ETL/tags/stable/ETL/handle index 9c3347e..d957f76 100644 --- a/ETL/tags/stable/ETL/handle +++ b/ETL/tags/stable/ETL/handle @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -29,6 +30,16 @@ #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 +#define ETL_LOCK_REFCOUNTS +#endif + +#ifdef ETL_LOCK_REFCOUNTS +# include "mutex" +#endif + #include "_handle.h" /* === E N D =============================================================== */