From 89cf8dbf522ce7ada0ee4cf9ea016ac2a89c8a75 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 6 Feb 2007 18:27:33 -0800 Subject: [PATCH] Remove half-leftover debugging code from previous commit This was leading to link failures on CAIRO_LOCK_FILE, etc. --- src/cairoint.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cairoint.h b/src/cairoint.h index 16f031663..5b6120f4c 100755 --- a/src/cairoint.h +++ b/src/cairoint.h @@ -138,8 +138,7 @@ CAIRO_BEGIN_DECLS # include # define CAIRO_MUTEX_DECLARE(name) static pthread_mutex_t name = PTHREAD_MUTEX_INITIALIZER # define CAIRO_MUTEX_DECLARE_GLOBAL(name) pthread_mutex_t name = PTHREAD_MUTEX_INITIALIZER -# define CAIRO_MUTEX_LOCK(name) \ -do { pthread_mutex_lock (&name); CAIRO_LOCK_FILE = __FILE__; CAIRO_LOCK_LINE = __LINE__; } while (0) +# define CAIRO_MUTEX_LOCK(name) pthread_mutex_lock (&name) # define CAIRO_MUTEX_UNLOCK(name) pthread_mutex_unlock (&name) typedef pthread_mutex_t cairo_mutex_t; # define CAIRO_MUTEX_INIT(mutex) pthread_mutex_init ((mutex), NULL)