summaryrefslogtreecommitdiff
path: root/test/cairo-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cairo-test.c')
-rw-r--r--test/cairo-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cairo-test.c b/test/cairo-test.c
index 72288656..edc9ae57 100644
--- a/test/cairo-test.c
+++ b/test/cairo-test.c
@@ -47,7 +47,7 @@
#if HAVE_FCFINI
#include <fontconfig/fontconfig.h>
#endif
-#if HAVE_PTHREAD_H
+#if CAIRO_HAS_PTHREAD
#include <pthread.h>
#endif
#if HAVE_SYS_STAT_H
@@ -1785,7 +1785,7 @@ _cairo_test_context_run (cairo_test_context_t *ctx)
return ret;
}
-#if HAVE_PTHREAD_H
+#if CAIRO_HAS_PTHREAD
typedef struct _cairo_test_thread {
pthread_t thread;
cairo_test_context_t *ctx;
@@ -1820,7 +1820,7 @@ cairo_test_expecting (const cairo_test_t *test)
_cairo_test_init (&ctx, NULL, test, test->name);
printf ("%s\n", test->description);
-#if HAVE_PTHREAD_H
+#if CAIRO_HAS_PTHREAD
num_threads = 0;
if (getenv ("CAIRO_TEST_NUM_THREADS"))
num_threads = atoi (getenv ("CAIRO_TEST_NUM_THREADS"));