projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'genete_master'
[synfig.git]
/
ETL
/
trunk
/
ETL
/
handle
diff --git
a/ETL/trunk/ETL/handle
b/ETL/trunk/ETL/handle
index
010f5c2
..
d5ef74a
100644
(file)
--- a/
ETL/trunk/ETL/handle
+++ b/
ETL/trunk/ETL/handle
@@
-23,17
+23,22
@@
/* === S T A R T =========================================================== */
/* === 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
/* === 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
# include "mutex"
#endif