summaryrefslogtreecommitdiff
path: root/src/cairoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairoint.h')
-rw-r--r--src/cairoint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairoint.h b/src/cairoint.h
index 585f1771f..80132deef 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -149,7 +149,8 @@
#endif
#ifndef CAIRO_MUTEX_DECLARE
-# warning "No mutex declarations, assuming single-threaded code"
+# error "No mutex declarations. Cairo will not work with multiple threads." \
+ "(Remove this #error directive to acknowledge & accept this limitation)."
# define CAIRO_MUTEX_DECLARE(name)
# define CAIRO_MUTEX_DECLARE_GLOBAL(name)
# define CAIRO_MUTEX_LOCK(name)