summaryrefslogtreecommitdiff
path: root/src/cairo-mutex-impl-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-10-15 12:18:47 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-10-15 13:05:47 +0100
commitdac73d260a9b9a848bb97436ad84081c51629511 (patch)
tree192548a3f1708554c056c70f2e9b8ea002f662ba /src/cairo-mutex-impl-private.h
parentef9286751d8346ecb803bfb5916581ee4dfc84db (diff)
downloadcairo-dac73d260a9b9a848bb97436ad84081c51629511.tar.gz
[build] Link against pthread-stubs
Avoid pulling in the real pthread library if the application is single threaded and not using pthreads, by linking against pthread-stubs instead.
Diffstat (limited to 'src/cairo-mutex-impl-private.h')
-rw-r--r--src/cairo-mutex-impl-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-mutex-impl-private.h b/src/cairo-mutex-impl-private.h
index f601db93a..06938b5a5 100644
--- a/src/cairo-mutex-impl-private.h
+++ b/src/cairo-mutex-impl-private.h
@@ -216,7 +216,7 @@
# define CAIRO_MUTEX_IMPL_FINI(mutex) delete (mutex)
# define CAIRO_MUTEX_IMPL_NIL_INITIALIZER NULL
-#elif HAVE_PTHREAD_H /* and finally if there are no native mutexes ********/
+#elif CAIRO_HAS_PTHREAD /* and finally if there are no native mutexes ********/
# include <pthread.h>