X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2Fhandle;h=d957f76e746712354be8c5af0168d48121421257;hb=c8833dd28d1b06713e91f1f069e93f0fbfa6c971;hp=956373a0744db535e4a11f05ec8bc8323f7dbd5e;hpb=b3016b249333ac0ab0008d8c6c4d9029b2ff30c9;p=synfig.git diff --git a/ETL/trunk/ETL/handle b/ETL/trunk/ETL/handle index 956373a..d957f76 100644 --- a/ETL/trunk/ETL/handle +++ b/ETL/trunk/ETL/handle @@ -1,10 +1,12 @@ +// -*- C++ -*- /* === E T L =============================================================== */ /*! \file handle -** $Id: handle,v 1.1.1.1 2005/01/04 01:31:46 darco Exp $ +** $Id$ ** \brief Template Object Handle ** ** \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 @@ -28,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 =============================================================== */