X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2Fmutex;h=f4d1263bc48242e825d8566417132dc595496def;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=4bc5d542a129168b1ed3ace919fe38b6e7732962;hpb=c627dcb7bcb9957fb3d7dd5c879ea5c70b5c9d02;p=synfig.git diff --git a/ETL/trunk/ETL/mutex b/ETL/trunk/ETL/mutex index 4bc5d54..f4d1263 100644 --- a/ETL/trunk/ETL/mutex +++ b/ETL/trunk/ETL/mutex @@ -22,14 +22,20 @@ /* === S T A R T =========================================================== */ -#ifndef __MUTEX__ -#define __MUTEX__ +#ifndef __ETL__MUTEX__ +#define __ETL__MUTEX__ /* === H E A D E R S ======================================================= */ #include "etl_config.h" -#include "_mutex_simple.h" +#ifdef HAVE_LIBPTHREAD +# include "_mutex_pthreads_simple.h" +#else +#ifdef _WIN32 +# include "_mutex_win32.h" +#endif +#endif /* === E N D =============================================================== */