diff options
Diffstat (limited to 'src/cairo-mutex-private.h')
-rw-r--r-- | src/cairo-mutex-private.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cairo-mutex-private.h b/src/cairo-mutex-private.h index c0a8a37f..9e058ff4 100644 --- a/src/cairo-mutex-private.h +++ b/src/cairo-mutex-private.h @@ -49,6 +49,17 @@ #include "cairo-mutex-type-private.h" +/* Only the following three are mandatory at this point */ +#ifndef CAIRO_MUTEX_LOCK +# error "CAIRO_MUTEX_LOCK not defined. Check cairo-mutex-type-private.h." +#endif +#ifndef CAIRO_MUTEX_UNLOCK +# error "CAIRO_MUTEX_UNLOCK not defined. Check cairo-mutex-type-private.h." +#endif +#ifndef CAIRO_MUTEX_NIL_INITIALIZER +# error "CAIRO_MUTEX_NIL_INITIALIZER not defined. Check cairo-mutex-type-private.h." +#endif + CAIRO_BEGIN_DECLS #ifndef CAIRO_MUTEX_DECLARE |