X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftags%2Fstable%2FETL%2Fhandle;h=d957f76e746712354be8c5af0168d48121421257;hb=1ba01d62f55407997aca33ed89d171ea7e5979d1;hp=9c3347e6382025ee9bfea66dacaae280ffb501c6;hpb=613289c772b22989f9f990cf06414d3818b3badd;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 =============================================================== */