summaryrefslogtreecommitdiff
path: root/src/cairo-mutex-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-04-19 16:19:48 -0400
committerBehdad Esfahbod <behdad@behdad.org>2007-04-19 16:19:48 -0400
commit4fc52e2d49c1299f8f175e22472ebe08baa41fa4 (patch)
tree458114af3427a394f9783f130a4a8671598937f8 /src/cairo-mutex-private.h
parentf9dd8fd0ef0ad95921723155b951cd113ccb2d0b (diff)
[cairo-mutex] Define CAIRO_MUTEX_NOOP
Diffstat (limited to 'src/cairo-mutex-private.h')
-rw-r--r--src/cairo-mutex-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cairo-mutex-private.h b/src/cairo-mutex-private.h
index 09fda701..059dec90 100644
--- a/src/cairo-mutex-private.h
+++ b/src/cairo-mutex-private.h
@@ -48,6 +48,12 @@
CAIRO_BEGIN_DECLS
+
+/* A fully qualified no-operation statement */
+#define CAIRO_MUTEX_NOOP do {/*no-op*/} while (0)
+
+
+
#if HAVE_PTHREAD_H /*********************************************************/
# include <pthread.h>