X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2Fhandle;h=d5ef74a97d7265b4a62f51595afe65c7edeaba26;hb=697bc5a5331b2750271bb68d401adb329ed7d95e;hp=010f5c2d32e0d57cdb3f556d40e691daf94879d9;hpb=c2e1e65c0f837dcdd34cf39a097ea85a4741c149;p=synfig.git diff --git a/ETL/trunk/ETL/handle b/ETL/trunk/ETL/handle index 010f5c2..d5ef74a 100644 --- a/ETL/trunk/ETL/handle +++ b/ETL/trunk/ETL/handle @@ -23,17 +23,22 @@ /* === S T A R T =========================================================== */ -#ifndef __HANDLE__ -#define __HANDLE__ +#ifndef __ETL__HANDLE__ +#define __ETL__HANDLE__ /* === H E A D E R S ======================================================= */ #include "etl_config.h" // include the next line in an attempt to increase stability -#define ETL_LOCK_REFCOUNTS +// it seems to make things much *less* stable on MS Windows +#ifndef _WIN32 +#ifdef __ETL_HAS_LIBPTHREAD +#define __ETL_LOCK_REFCOUNTS +#endif +#endif -#ifdef ETL_LOCK_REFCOUNTS +#ifdef __ETL_LOCK_REFCOUNTS # include "mutex" #endif