summaryrefslogtreecommitdiff
path: root/src/cairo-mutex.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-04-19 16:21:13 -0400
committerBehdad Esfahbod <behdad@behdad.org>2007-04-19 16:21:13 -0400
commitf771b9157c26430949f4dd1412c7a7b35367f81a (patch)
tree141f53364b80be4ef096dd7895ba9bde706a95c2 /src/cairo-mutex.c
parent4fc52e2d49c1299f8f175e22472ebe08baa41fa4 (diff)
[cairo-mutex] Define and use CAIRO_MUTEX_USE_GENERIC_INITIALIZATION
We use the generic initialization if CAIRO_MUTEX_INITIALIZE is not defined.
Diffstat (limited to 'src/cairo-mutex.c')
-rw-r--r--src/cairo-mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-mutex.c b/src/cairo-mutex.c
index 60e1a084..69f4e508 100644
--- a/src/cairo-mutex.c
+++ b/src/cairo-mutex.c
@@ -36,7 +36,7 @@
#include "cairoint.h"
-#if !HAVE_PTHREAD_H
+#if CAIRO_MUTEX_USE_GENERIC_INITIALIZATION
cairo_bool_t _cairo_mutex_initialized = FALSE;